Package jaxx.runtime
Class DataBindingUpdateListener
java.lang.Object
jaxx.runtime.DataBindingUpdateListener
- All Implemented Interfaces:
java.beans.PropertyChangeListener,java.util.EventListener
public class DataBindingUpdateListener
extends java.lang.Object
implements java.beans.PropertyChangeListener
A
PropertyChangeListener which removes and re-applies a data binding
when it receives a PropertyChangeEvent.-
Constructor Summary
Constructors Constructor Description DataBindingUpdateListener(JAXXObject object, java.lang.String dest)Creates a newDataBindingUpdateListenerwhich will remove and re-apply a data binding when it receives aPropertyChangeEvent. -
Method Summary
Modifier and Type Method Description java.lang.StringgetBindingName()voidpropertyChange(java.beans.PropertyChangeEvent e)Updates the data binding in response to aPropertyChangeEvent.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
DataBindingUpdateListener
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 Details
-
getBindingName
public java.lang.String getBindingName() -
propertyChange
public void propertyChange(java.beans.PropertyChangeEvent e)Updates the data binding in response to aPropertyChangeEvent.- Specified by:
propertyChangein interfacejava.beans.PropertyChangeListener- Parameters:
e- the event which triggered the binding
-