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 new DataBindingUpdateListener which will remove and re-apply a data binding when it receives a PropertyChangeEvent.
  • Method Summary

    Modifier and Type Method Description
    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 Details

    • 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 Details

    • 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