Code example for PropertyChangeEvent

Methods: getNewValuegetOldValue

     * @param evt A PropertyChangeEvent object describing the event source and the property that has changed. 
    public void propertyChange(final PropertyChangeEvent evt)
      final ReportRenderContext oldContext = (ReportRenderContext) evt.getOldValue();
      final ReportRenderContext activeContext = (ReportRenderContext) evt.getNewValue();
      updateActiveContext(oldContext, activeContext);
  private ActiveContextChangeHandler changeHandler;
  protected AbstractReportContextAction() 
    changeHandler = new ActiveContextChangeHandler();
  protected ReportDocumentContext getActiveContext() 
Contextual code suggestions in your IDE  Get Codota for Java