All Packages Class Hierarchy This Package Previous Next Index
Class sunw.beanbox.PropertyHookup
java.lang.Object
|
+----sunw.beanbox.PropertyHookup
- public class PropertyHookup
- extends Object
- implements PropertyChangeListener, Serializable
-
PropertyHookup(Object)
- Constructor for a new property hookup adaptor.
-
attach(Object, String, Method, Object, Method)
- Create a property hookup, so that a change to the named bound
property on the source object turns into a call on the "setter"
method of the given target object.
-
propertyChange(PropertyChangeEvent)
- This is the method that gets called when a bound property
changes on the source object.
-
vetoablePropertyChange(PropertyChangeEvent)
-
PropertyHookup
public PropertyHookup(Object source)
- Constructor for a new property hookup adaptor.
attach
public void attach(Object source,
String propertyName,
Method getter,
Object targetObject,
Method setter)
- Create a property hookup, so that a change to the named bound
property on the source object turns into a call on the "setter"
method of the given target object.
propertyChange
public synchronized void propertyChange(PropertyChangeEvent evt)
- This is the method that gets called when a bound property
changes on the source object.
We map the property name to a list of targets and then
call each of the target "setter" methods.
vetoablePropertyChange
public void vetoablePropertyChange(PropertyChangeEvent evt) throws PropertyVetoException
All Packages Class Hierarchy This Package Previous Next Index