June 1997
Intermediate to advanced
318 pages
8h 17m
English
Class java.beans.PropertyChangeSupport
PropertyChangeSupport
handles the registration and
unregistration of property change listeners, and implements the
firing of arbitrary property 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 PropertyChangeSupport implements java.io.Serializable
{
// constructors
public PropertyChangeSupport(Object sourceBean);
// methods
public synchronized void addPropertyChangeListener(
PropertyChangeListener listener);
public void firePropertyChange(String propertyName,
Object oldValue, Object newValue);
public synchronized void removePropertyChangeListener(
PropertyChangeListener listener);
}
PropertyChangeListener
Read now
Unlock full access