org.apache.pivot.beans
Class BeanMonitor
java.lang.Object
org.apache.pivot.beans.BeanMonitor
public class BeanMonitor
- extends Object
Class for monitoring Java bean property changes.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LISTENERS_SUFFIX
public static final String LISTENERS_SUFFIX
- See Also:
- Constant Field Values
PROPERTY_CHANGE_SUFFIX
public static final String PROPERTY_CHANGE_SUFFIX
- See Also:
- Constant Field Values
BeanMonitor
public BeanMonitor(Object bean)
getBean
public Object getBean()
- Returns the bean object that this monitor wraps.
isNotifying
public boolean isNotifying(String key)
- Tests whether a property fires change events.
- Parameters:
key
- The property name.
- Returns:
- true if the property fires change events; false
otherwise.
getPropertyChangeListeners
public ListenerList<PropertyChangeListener> getPropertyChangeListeners()