Save This Page
Home » openjdk-7 » java » beans » [javadoc | source]
java.beans
public interface: VetoableChangeListener [javadoc | source]

All Implemented Interfaces:
    EventListener

All Known Implementing Classes:
    BeanContextServicesSupport, VetoableChangeListenerProxy, BeanContextSupport

A VetoableChange event gets fired whenever a bean changes a "constrained" property. You can register a VetoableChangeListener with a source bean so as to be notified of any constrained property updates.
Method from java.beans.VetoableChangeListener Summary:
vetoableChange
Method from java.beans.VetoableChangeListener Detail:
 public  void vetoableChange(PropertyChangeEvent evt) throws PropertyVetoException
    This method gets called when a constrained property is changed.