June 1997
Intermediate to advanced
318 pages
8h 17m
English
Class java.beans.VetoableChangeSupport
VetoableChangeSupport
handles the registration and
unregistration of vetoable-change listeners, and implements the
firing of arbitrary vetoable-change events. The class is designed so
that you can either inherit from it, or you can delegate work to an
instance of it.
public class VetoableChangeSupport implements java.io.Serializable
{
// constructors
public VetoableChangeSupport(Object sourceBean);
// methods
public synchronized void addVetoableChangeListener(
VetoableChangeListener listener);
public void fireVetoableChange(String propertyName,
Object oldValue, Object newValue)
throws PropertyVetoException;
public synchronized void removeVetoableChangeListener(
VetoableChangeListener listener);
}
PropertyVetoException,
VetoableChangeListener
Read now
Unlock full access