Code example for PropertyChangeSupport

Methods: addPropertyChangeListener

0
     * Adds a property change listener to the series. 
     * 
     * @param listener  the listener. 
     */ 
    public void addPropertyChangeListener(PropertyChangeListener listener) {
        this.propertyChangeSupport.addPropertyChangeListener(listener);
    } 
 
    /** 
     * Removes a property change listener from the series. 
     * 
     * @param listener The listener. 
     */ 
    public void removePropertyChangeListener(PropertyChangeListener listener) {
        this.propertyChangeSupport.removePropertyChangeListener(listener);
    } 
 
    /** 
     * Fires a property change event. 
     * 
Experience pair programming with AI  Get Codota for Java