Code example for PropertyChangeSupport

Methods: firePropertyChange

0
     * @param oldValue  the old value. 
     * @param newValue  the new value. 
     */ 
    protected void firePropertyChange(String property, Object oldValue,
            Object newValue) {
        this.propertyChangeSupport.firePropertyChange(property, oldValue,
                newValue);
    } 
 
 
    /** 
     * Registers an object with this series, to receive notification whenever 
     * the series changes. 
     * <P> 
     * Objects being registered must implement the {@link SeriesChangeListener} 
     * interface. 
     * 
     * @param listener  the listener to register. 
     */ 
    public void addChangeListener(SeriesChangeListener listener) {
//        this.listeners.add(SeriesChangeListener.class, listener);