Class SimpleJAXXObjectBinding

java.lang.Object
jaxx.runtime.binding.DefaultJAXXBinding
jaxx.runtime.binding.SimpleJAXXObjectBinding
All Implemented Interfaces:
java.beans.PropertyChangeListener, java.util.EventListener, JAXXBinding

public abstract class SimpleJAXXObjectBinding
extends DefaultJAXXBinding
Created: 5 déc. 2009
Version:
$Revision$ Mise a jour: $Date$ par : $Author$
Author:
Tony Chemit - chemit@codelutin.com
  • Field Details

    • propertyNames

      protected final java.lang.String[] propertyNames
  • Constructor Details

    • SimpleJAXXObjectBinding

      public SimpleJAXXObjectBinding​(JAXXObject source, java.lang.String id, boolean defaultBinding, java.lang.String... propertyNames)
      Creates a new Data binding which will run the given data binding when it receives a PropertyChangeEvent.
      Parameters:
      source - the JAXXObject source of the binding
      id - the name of the data binding to run
      defaultBinding - flag to knwon if binding is coming from a generated jaxx object (true).
      propertyNames - the name of properties to listen on source
  • Method Details

    • canApply

      public boolean canApply()
    • getPropertyNames

      public java.lang.String[] getPropertyNames()
    • applyDataBinding

      public void applyDataBinding()
      Description copied from interface: JAXXBinding
      Apply the binding without processing it (say just install listeners).
    • removeDataBinding

      public void removeDataBinding()
      Description copied from interface: JAXXBinding
      Remove the binding.