public class JAXXBindings extends Object
| Constructor and Description |
|---|
JAXXBindings() |
| Modifier and Type | Method and Description |
|---|---|
static void |
applyDataBinding(JAXXObject src,
Collection<String> bindings)
Convinient method to apply more than one binding on a JAXX ui.
|
static void |
applyDataBinding(JAXXObject src,
String... bindings)
Convinient method to apply more than one binding on a JAXX ui.
|
static PropertyChangeListener[] |
findJaxxPropertyChangeListener(String[] propertyNames,
PropertyChangeListener... listeners)
detects all PropertychangedListener added by Jaxx uis (should be a
DataBindingListener |
static DataBindingUpdateListener |
getDataBindingUpdateListener(JAXXObject object,
String bindingName) |
static void |
processDataBinding(JAXXObject src,
String... bindings)
Convinient method to process more than one binding on a JAXX ui.
|
static void |
reloadBinding(JAXXBinding binding)
To reload a binding, the method will invoke
JAXXBinding.removeDataBinding()
JAXXBinding.applyDataBinding()
|
static void |
reloadBinding(JAXXObject src,
String bindingId)
Convinient method to reload a given binding by his id on a JAXX ui.
|
static void |
removeAllDataBindings(JAXXObject src)
Convinient method to remove all than one binding on a JAXX ui.
|
static void |
removeDataBinding(JAXXObject src,
String... bindings)
Convinient method to remove more than one binding on a JAXX ui.
|
public static void reloadBinding(JAXXBinding binding)
binding - the binding to reload.public static void reloadBinding(JAXXObject src, String bindingId)
src - the ui to treatebindingId - the id of binding to reload.public static void applyDataBinding(JAXXObject src, String... bindings)
src - the ui to treatebindings - the list of binding to process.public static void applyDataBinding(JAXXObject src, Collection<String> bindings)
src - the ui to treatebindings - the list of binding to process.public static void processDataBinding(JAXXObject src, String... bindings)
src - the ui to treatebindings - the list of binding to process.public static void removeDataBinding(JAXXObject src, String... bindings)
src - the ui to treatebindings - the list of binding to process.public static void removeAllDataBindings(JAXXObject src)
src - the ui to treatepublic static DataBindingUpdateListener getDataBindingUpdateListener(JAXXObject object, String bindingName)
public static PropertyChangeListener[] findJaxxPropertyChangeListener(String[] propertyNames, PropertyChangeListener... listeners)
DataBindingListenerpropertyNames - the array of property names to findlisteners - the array of listeners to filterCopyright © 2008–2015 CodeLutin. All rights reserved.