Package org.nuiton.jaxx.runtime
Class DataBindingListener
- java.lang.Object
-
- org.nuiton.jaxx.runtime.DataBindingListener
-
- All Implemented Interfaces:
PropertyChangeListener,EventListener
public class DataBindingListener extends Object implements PropertyChangeListener
APropertyChangeListenerwhich processes a data binding when it receives aPropertyChangeEvent.
-
-
Constructor Summary
Constructors Constructor Description DataBindingListener(JAXXObject object, String dest)Creates a newDataBindingListenerwhich will run the given data binding when it receives aPropertyChangeEvent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidpropertyChange(PropertyChangeEvent e)Processes the data binding in response to aPropertyChangeEvent.
-
-
-
Constructor Detail
-
DataBindingListener
public DataBindingListener(JAXXObject object, String dest)
Creates a newDataBindingListenerwhich will run the given data binding when it receives aPropertyChangeEvent.- Parameters:
object- the object in which the data binding existsdest- the name of the data binding to run
-
-
Method Detail
-
propertyChange
public void propertyChange(PropertyChangeEvent e)
Processes the data binding in response to aPropertyChangeEvent.- Specified by:
propertyChangein interfacePropertyChangeListener- Parameters:
e- the event which triggered the binding
-
-