public interface JAXXObject extends JAXXContext, Serializable
JAXXObject interface is implemented by all classes
produced by the JAXX compiler.| Modifier and Type | Method and Description |
|---|---|
void |
addPropertyChangeListener(PropertyChangeListener listener)
Register a general
PropertyChangeListener. |
void |
addPropertyChangeListener(String property,
PropertyChangeListener listener)
Register a
PropertyChangeListener. |
void |
applyDataBinding(String id)
Apply the data bind by name and then process it.
|
Map<String,Object> |
get$objectMap()
Pretrieves the dictonary of knwon objects indexed by their ids.
|
JAXXBinding |
getDataBinding(String bindingId)
Obtain a binding given his id.
|
JAXXBinding[] |
getDataBindings() |
JAXXContext |
getDelegateContext() |
Object |
getObjectById(String id)
Retrieves an object defined in an XML tag by its ID.
|
<O extends Container> |
getParentContainer(Class<O> clazz)
Return parent's container corresponding to the Class clazz
|
<O extends Container> |
getParentContainer(Object top,
Class<O> clazz)
Return parent's container corresponding to the Class clazz
|
void |
processDataBinding(String dest)
Processes a data binding by name.
|
void |
processDataBinding(String dest,
boolean force)
Processes a data binding by name.
|
void |
registerDataBinding(JAXXBinding binding)
Register a new binding in the jaxx object.
|
void |
removeDataBinding(String id)
Remove a databinding by name.
|
void |
removePropertyChangeListener(PropertyChangeListener listener)
Unregister a general
PropertyChangeListener. |
void |
removePropertyChangeListener(String property,
PropertyChangeListener listener)
Unregister a
PropertyChangeListener. |
getContextValue, getContextValue, removeContextValue, removeContextValue, setContextValue, setContextValueObject getObjectById(String id)
id - the id of the component to retrieveMap<String,Object> get$objectMap()
JAXXContext getDelegateContext()
JAXXContext attached to the objectJAXXBinding[] getDataBindings()
void registerDataBinding(JAXXBinding binding)
binding - the binding to addvoid applyDataBinding(String id)
id - the id of the databindingvoid processDataBinding(String dest)
<JLabel id='label' text='{foo.getText()}'/> is
named "label.text". Processing a data binding causes it to reevaluate its expression, in this
case foo.getText().dest - the name of the data binding to runvoid processDataBinding(String dest, boolean force)
<JLabel id='label' text='{foo.getText()}'/> is
named "label.text". Processing a data binding causes it to reevaluate its expression, in this
case foo.getText().dest - the name of the data binding to runforce - flag to force binding, even if already on runvoid removeDataBinding(String id)
id - the name of databinding to removeJAXXBinding getDataBinding(String bindingId)
bindingId - the id of the bindingnull if not found.JAXXBindingvoid addPropertyChangeListener(PropertyChangeListener listener)
PropertyChangeListener.listener - the listener to registervoid addPropertyChangeListener(String property, PropertyChangeListener listener)
PropertyChangeListener. for the given propertyName.property - the property name to listenlistener - the listener to registervoid removePropertyChangeListener(PropertyChangeListener listener)
PropertyChangeListener.listener - the listener to unregistervoid removePropertyChangeListener(String property, PropertyChangeListener listener)
PropertyChangeListener. for the given propertyName.property - the property name to listenlistener - the listener to unregister<O extends Container> O getParentContainer(Class<O> clazz)
O - type of container to obtain from contextclazz - clazz desiredCopyright © 2008–2019 Ultreia.io. All rights reserved.