public class PropertyChangeMonitor extends Object implements PropertyChangeListener
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,List<PropertyChangeActionBase>> |
myPropertyActions
A map associating PropertyChangeActions with an event name.
|
| Constructor and Description |
|---|
PropertyChangeMonitor() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAction(String property,
PropertyChangeActionBase action)
Adds a PropertyChangeAction to be fired when an event with the given name
is found.
|
void |
propertyChange(PropertyChangeEvent evt)
Fires all actions associated with the name of the given event.
|
protected Map<String,List<PropertyChangeActionBase>> myPropertyActions
public void addAction(String property, PropertyChangeActionBase action)
property - event name to listen foraction - action to firepublic void propertyChange(PropertyChangeEvent evt)
propertyChange in interface PropertyChangeListenerevt - PropertyChangeEvent for the property being changedCopyright © 2011-2014. All Rights Reserved.