This interface is an extension of java.util.EventListener and defines the method that a class must implement in order to be notified when a Java bean makes a change to a "constrained" property. A PropertyChangeEvent is passed to the vetoableChange() method when such a change occurs, and if the VetoableChangeListener wants to prevent the change from occurring, this method should throw a PropertyVetoException.
public abstract interface VetoableChangeListener extends EventListener { // Public Instance Methods public abstract void vetoableChange(PropertyChangeEvent evt) throws PropertyVetoException; }
VetoableChangeSupport.addVetoableChangeListener(), VetoableChangeSupport.removeVetoableChangeListener()
This HTML Help has been published using the chm2web software. |