Code example for PropertyChangeSupport

Methods: getPropertyChangeListeners

    /* default */final synchronized PropertyChangeListener[] getPropertyChangeListeners() {
        if (changeSupport == null) {
            return new PropertyChangeListener[0];
        return changeSupport.getPropertyChangeListeners();
     * Support for reporting bound property changes for Object properties. This 
     * method can be called when a bound property has changed and it will send 
     * the appropriate PropertyChangeEvent to any registered 
     * PropertyChangeListeners. 
     * @param propertyName 
     *            the property whose value has changed 
     * @param oldValue 
     *            the property's previous value 
     * @param newValue 
     *            the property's new value 
Contextual code suggestions in your IDE  Get Codota for Java