public abstract class SimpleJAXXObjectBinding extends DefaultJAXXBinding
| Modifier and Type | Field and Description |
|---|---|
protected String[] |
propertyNames |
defaultBinding, reloadAfterFire, source| Constructor and 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 a
PropertyChangeEvent. |
| Modifier and Type | Method and Description |
|---|---|
void |
applyDataBinding()
Apply the binding without processing it (say just install listeners).
|
boolean |
canApply() |
String[] |
getPropertyNames() |
void |
removeDataBinding()
Remove the binding.
|
getId, getSource, isDefaultBinding, propertyChange, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitprocessDataBindingprotected final String[] propertyNames
public SimpleJAXXObjectBinding(JAXXObject source, String id, boolean defaultBinding, String... propertyNames)
PropertyChangeEvent.source - the JAXXObject source 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 sourcepublic boolean canApply()
public String[] getPropertyNames()
public void applyDataBinding()
JAXXBindingpublic void removeDataBinding()
JAXXBindingCopyright © 2008-2012 CodeLutin. All Rights Reserved.