org.progeeks.meta.beans
Class PropertyChangeBridge
java.lang.Object
org.progeeks.meta.beans.PropertyChangeBridge
- All Implemented Interfaces:
- java.beans.PropertyChangeListener, java.util.EventListener
public class PropertyChangeBridge
- extends java.lang.Object
- implements java.beans.PropertyChangeListener
Delegates property changes from an underlying bean to the
BeanMetaObject that contains it. Reference to the bean meta-object
is kept using a WeakReference and this object will removed from
any event sources that it knows about when the reference is null.
In other words, this listener will remove itself from the real beans
when the bean meta-object goes away.
- Version:
- $Revision: 1.5 $
- Author:
- Paul Speed
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyChangeBridge
public PropertyChangeBridge(BeanMetaObject bean)
ignoreUpdates
public void ignoreUpdates()
isIgnoringUpdates
public boolean isIgnoringUpdates()
watchUpdates
public void watchUpdates()
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent event)
- Specified by:
propertyChange
in interface java.beans.PropertyChangeListener
Copyright © 2002-2003 Paul Speed. All Rights Reserved.