| |
|
| java.lang.Object net.xoetrope.optional.data.XTableTableBinding
XTableTableBinding | public class XTableTableBinding implements XDataBinding(Code) | | A binding that binds a table component to a database table. Normally this
object should be setup by the XOptionalBindingFactory
Copyright Xoetrope(c) 2003-2004
$Revision: 1.2 $
|
useUnique | protected boolean useUnique(Code) | | |
get | public void get()(Code) | | Updates the table component with the value obtained from the data model.
This method does nothing as the table should dynamically pull its data from
the model. Any change in the model is effected by the setSore or
setSourcePath methods.
|
getComponent | public Component getComponent()(Code) | | Get the UI component that participates in this binding
the component |
getOutputPath | public String getOutputPath()(Code) | | Get the model path for the output/state data
|
getSourcePath | public String getSourcePath()(Code) | | Get the model path for the source data
|
set | public void set()(Code) | | Updates the data model with the value retrieved from the table component.
|
setOutput | public void setOutput(XModel newModel)(Code) | | Update the path values stored by this node. The output path is used to
store selection data and state.
Parameters: newNode - the new model for saving the output data |
setOutputPath | public void setOutputPath(String newPath)(Code) | | Set the model path for the output/state data
|
setSource | public void setSource(XModel newNode)(Code) | | Update the model node used in the binding. Note that this method does not
modify the path values stored by this node.
Parameters: newNode - the new model for the data source |
setSourcePath | public void setSourcePath(String newPath)(Code) | | Set the model path for the source data
|
|
|
|