jaxx.runtime
Class DataBindingUpdateListener

java.lang.Object
  extended by 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
DataBindingUpdateListener(JAXXObject object, java.lang.String dest)
          Creates a new DataBindingUpdateListener which will remove and re-apply a data binding when it receives a PropertyChangeEvent.
 
Method Summary
 java.lang.String getBindingName()
           
 void propertyChange(java.beans.PropertyChangeEvent e)
          Updates the data binding in response to a PropertyChangeEvent.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataBindingUpdateListener

public DataBindingUpdateListener(JAXXObject object,
                                 java.lang.String dest)
Creates a new DataBindingUpdateListener which will remove and re-apply a data binding when it receives a PropertyChangeEvent.

Parameters:
object - the object in which the data binding exists
dest - the name of the data binding to reapply
Method Detail

getBindingName

public java.lang.String getBindingName()

propertyChange

public void propertyChange(java.beans.PropertyChangeEvent e)
Updates the data binding in response to a PropertyChangeEvent.

Specified by:
propertyChange in interface java.beans.PropertyChangeListener
Parameters:
e - the event which triggered the binding


Copyright © 2008-2009 CodeLutin. All Rights Reserved.