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