|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JAXXObject
The JAXXObject interface is implemented by all classes produced by the JAXX compiler.
| Method Summary | |
|---|---|
void |
applyDataBinding(java.lang.String id)
|
void |
firePropertyChange(java.lang.String name,
java.lang.Object oldValue,
java.lang.Object newValue)
All JAXXObject implements are capable of broadcasting PropertyChangeEvent, and
furthermore (for technical reasons) must allow code in outside packages, specifically the JAXX runtime,
to trigger these events. |
java.util.Map<java.lang.String,java.lang.Object> |
get$objectMap()
Pretrieves the dictonary of knwon objects indexed by their ids. |
JAXXContext |
getDelegateContext()
|
java.lang.Object |
getObjectById(java.lang.String id)
Retrieves an object defined in an XML tag by its ID. |
void |
processDataBinding(java.lang.String dest)
Processes a data binding by name. |
void |
removeDataBinding(java.lang.String id)
|
| Methods inherited from interface jaxx.runtime.JAXXContext |
|---|
getContextValue, getContextValue, getParentContainer, getParentContainer, removeContextValue, removeContextValue, setContextValue, setContextValue |
| Method Detail |
|---|
java.lang.Object getObjectById(java.lang.String id)
id - the id of the component to retrieve
java.util.Map<java.lang.String,java.lang.Object> get$objectMap()
void applyDataBinding(java.lang.String id)
void removeDataBinding(java.lang.String id)
JAXXContext getDelegateContext()
void processDataBinding(java.lang.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 run
void firePropertyChange(java.lang.String name,
java.lang.Object oldValue,
java.lang.Object newValue)
JAXXObject implements are capable of broadcasting PropertyChangeEvent, and
furthermore (for technical reasons) must allow code in outside packages, specifically the JAXX runtime,
to trigger these events.
name - the name of the property which changedoldValue - the old value of the propertynewValue - the new value of the property
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||