Module java.desktop
Package java.beans

Class PropertyChangeListenerProxy

    • Constructor Detail

      • PropertyChangeListenerProxy

        public PropertyChangeListenerProxy​(String propertyName,
                                           PropertyChangeListener listener)
        Constructor which binds the PropertyChangeListener to a specific property.
        Parameters:
        propertyName - the name of the property to listen on
        listener - the listener object
    • Method Detail

      • getPropertyName

        public String getPropertyName()
        Returns the name of the named property associated with the listener.
        Returns:
        the name of the named property associated with the listener