java.beans
public interface VetoableChangeListener extends EventListener
Note: This class may not be reliably used to determine whether a property has actually changed. Use the PropertyChangeListener interface for that instead.
PropertyChangeListener
,
VetoableChangeSupport
Modifier and Type | Method and Description |
---|---|
void |
vetoableChange(PropertyChangeEvent e)
Fired before a Bean's property changes.
|
void vetoableChange(PropertyChangeEvent e) throws PropertyVetoException
e
- the change (containing the old and new values)PropertyVetoException
- if the change is vetoed by the listener