|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.maryanovsky.gwtutils.client.event.PropertyChangeListenerList
public class PropertyChangeListenerList
A convenience class for managing PropertyChangeListeners.
Constructor Summary | |
---|---|
PropertyChangeListenerList(String[] propertyNames)
Creates a new PropertyChangeListenerList which will manage
listeners to changes in the specified list of properties. |
Method Summary | |
---|---|
void |
add(String propertyName,
PropertyChangeListener listener)
Adds the specified listener to be notified when the property with the specified name changes. |
void |
firePropertyChanged(Object source,
String propertyName,
Object oldValue,
Object newValue)
Notifies all registered listeners of a change in the specified property. |
void |
remove(String propertyName,
PropertyChangeListener listener)
Removes the specified listener from being notified when the property with the specified name changes. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyChangeListenerList(String[] propertyNames)
PropertyChangeListenerList
which will manage
listeners to changes in the specified list of properties.
Method Detail |
---|
public void add(String propertyName, PropertyChangeListener listener)
public void remove(String propertyName, PropertyChangeListener listener)
public void firePropertyChanged(Object source, String propertyName, Object oldValue, Object newValue)
oldValue
and newValue
are equal,
no listeners are notified.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |