|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XDataBinding
Describes an interface used to allow components to be updated when a data model changes and to allow the model to be updated when the user interface elements change.
Copyright: Copyright (c) Xoetrope Ltd., 1998-2003
License: see license.txt
| Field Summary | |
|---|---|
static java.lang.String |
DEFAULT_OUTPUT_PATHThe path to which XUI state information will be output |
| Method Summary | |
|---|---|
void |
get()Update the bound component with the value obtained from the data model. |
java.lang.Object |
getComponent()Get the component to which this binding is attached |
java.lang.String |
getOutputPath()Get the model path for the output/state data |
java.lang.String |
getSourcePath()Get the model path for the source data |
void |
set()Update the data model with the value retrieved from the bound component. |
void |
setOutput(XModel newModel, java.lang.String outputPath)Update the path values stored by this node. |
void |
setOutputPath(java.lang.String newPath)Set the model path for the output/state data |
void |
setSource(XModel newNode)Update the model node used in the binding. |
void |
setSourcePath(java.lang.String newPath)Set the model path for the source data |
| Field Detail |
|---|
static final java.lang.String DEFAULT_OUTPUT_PATH
| Method Detail |
|---|
void get()
void set()
java.lang.Object getComponent()
java.lang.String getSourcePath()
java.lang.String getOutputPath()
void setSourcePath(java.lang.String newPath)
newPath - The path to which the source model is to be boundvoid setOutputPath(java.lang.String newPath)
newPath - The path to which the output model is to be boundvoid setSource(XModel newNode)
newNode - the new model for the data source
void setOutput(XModel newModel,
java.lang.String outputPath)
newModel - the new model for saving the output dataoutputPath - The path to which the outputModel is writing.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||