|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exoplatform.social.client.core.util.PropertyChangeSupport
public final class PropertyChangeSupport
This is a utility class that can be used by models that support bound properties. You can use an instance of this class as a member field of your bean and delegate various work to it.
| Constructor Summary | |
|---|---|
PropertyChangeSupport(Model source)
Constructs a new PropertyChangeSupport object associated with the specified Model object. |
|
| Method Summary | |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Adds a PropertyChange event listener to this component. |
PropertyChangeListener[] |
findPropertyChangeListeners()
Gets the lifecycle listeners associated with this lifecycle. |
void |
propertyChange(String propertyName,
Object oldValue,
Object newValue)
Notifies all PropertyChange event listeners that a particular event has occurred for this Container. |
void |
removeLifecycleListener(PropertyChangeListener listener)
Removes a PropertyChange event listener which was registered to model |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyChangeSupport(Model source)
PropertyChangeSupport object associated with the specified Model object.
source - | Method Detail |
|---|
public void addPropertyChangeListener(PropertyChangeListener listener)
listener - The listener is added.
public void propertyChange(String propertyName,
Object oldValue,
Object newValue)
propertyName - The PropertyName stringoldValue - oldValue object.newValue - newValue object.public void removeLifecycleListener(PropertyChangeListener listener)
listener - The listener will be removed.public PropertyChangeListener[] findPropertyChangeListeners()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||