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() |
boolean |
canApply() |
String[] |
getPropertyNames() |
void |
removeDataBinding() |
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()
public void removeDataBinding()
Copyright © 2008–2020 Ultreia.io. All rights reserved.