Package org.nuiton.jaxx.runtime.binding
Class SimpleJAXXObjectBinding
- java.lang.Object
-
- org.nuiton.jaxx.runtime.binding.DefaultJAXXBinding
-
- org.nuiton.jaxx.runtime.binding.SimpleJAXXObjectBinding
-
- All Implemented Interfaces:
PropertyChangeListener,EventListener,JAXXBinding
public abstract class SimpleJAXXObjectBinding extends DefaultJAXXBinding
Created: 5 déc. 2009- Version:
- $Revision$ Mise a jour: $Date$ par : $Author$
- Author:
- Tony Chemit - dev@tchemit.fr
-
-
Field Summary
Fields Modifier and Type Field Description protected String[]propertyNames-
Fields inherited from class org.nuiton.jaxx.runtime.binding.DefaultJAXXBinding
defaultBinding, reloadAfterFire, source
-
-
Constructor Summary
Constructors Constructor Description SimpleJAXXObjectBinding(JAXXObject source, String id, boolean defaultBinding, String... propertyNames)Creates a new Data binding which will run the given data binding when it receives aPropertyChangeEvent.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyDataBinding()booleancanApply()String[]getPropertyNames()voidremoveDataBinding()-
Methods inherited from class org.nuiton.jaxx.runtime.binding.DefaultJAXXBinding
getId, getSource, isDefaultBinding, propertyChange, toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.nuiton.jaxx.runtime.JAXXBinding
processDataBinding
-
-
-
-
Field Detail
-
propertyNames
protected final String[] propertyNames
-
-
Constructor Detail
-
SimpleJAXXObjectBinding
public SimpleJAXXObjectBinding(JAXXObject source, String id, boolean defaultBinding, String... propertyNames)
Creates a new Data binding which will run the given data binding when it receives aPropertyChangeEvent.- Parameters:
source- theJAXXObjectsource of the bindingid- the name of the data binding to rundefaultBinding- flag to knwon if binding is coming from a generated jaxx object (true).propertyNames- the name of properties to listen on source
-
-
Method Detail
-
canApply
public boolean canApply()
-
getPropertyNames
public String[] getPropertyNames()
-
applyDataBinding
public void applyDataBinding()
-
removeDataBinding
public void removeDataBinding()
-
-