Package java.beans

Class PropertyChangeListenerProxy

    • Constructor Detail

      • PropertyChangeListenerProxy

        public PropertyChangeListenerProxy​(String propertyName,
                                           PropertyChangeListener listener)
        Creates a new listener proxy that associates a listener with a property name.
        Parameters:
        propertyName - the name of the associated property.
        listener - the listener to delegate incoming events to.
    • Method Detail

      • getPropertyName

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