Module java.desktop
Package java.beans

Class VetoableChangeListenerProxy

    • Constructor Detail

      • VetoableChangeListenerProxy

        public VetoableChangeListenerProxy​(String propertyName,
                                           VetoableChangeListener listener)
        Constructor which binds the VetoableChangeListener 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