Code example for PropertyChangeSupport

Methods: addPropertyChangeListener

0
     * @deprecated This service should not be used outside the AS7 codebase itself, as it may be replaced in AS 7.2 
     */ 
    @Deprecated 
    public void addPropertyChangeListener( 
            PropertyChangeListener listener) {
        changeSupport.addPropertyChangeListener(listener);
    } 
 
    /** 
     * Removes a previously {@link #addPropertyChangeListener(PropertyChangeListener) registered listener}. 
     * 
     * @param listener the listener 
     * 
     * @deprecated This service should not be used outside the AS7 codebase itself, as it may be replaced in AS 7.2 
     */ 
    @Deprecated 
    public void removePropertyChangeListener( 
            PropertyChangeListener listener) {
        changeSupport.removePropertyChangeListener(listener);
    }