Package jaxx.runtime.binding
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 Summary
Fields Modifier and Type Field Description protected java.lang.String[]propertyNamesFields inherited from class jaxx.runtime.binding.DefaultJAXXBinding
defaultBinding, reloadAfterFire, source -
Constructor Summary
Constructors Constructor Description 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 aPropertyChangeEvent. -
Method Summary
Modifier and Type Method Description voidapplyDataBinding()Apply the binding without processing it (say just install listeners).booleancanApply()java.lang.String[]getPropertyNames()voidremoveDataBinding()Remove the binding.Methods inherited from class jaxx.runtime.binding.DefaultJAXXBinding
getId, getSource, isDefaultBinding, propertyChange, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jaxx.runtime.JAXXBinding
processDataBinding
-
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 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 Details
-
canApply
public boolean canApply() -
getPropertyNames
public java.lang.String[] getPropertyNames() -
applyDataBinding
public void applyDataBinding()Description copied from interface:JAXXBindingApply the binding without processing it (say just install listeners). -
removeDataBinding
public void removeDataBinding()Description copied from interface:JAXXBindingRemove the binding.
-