| java.lang.Object net.xoetrope.xui.data.XTextBinding net.xoetrope.optional.data.XTextTableBinding
XTextTableBinding | public class XTextTableBinding extends XTextBinding (Code) | | A text binding that binds to a database table field. Normally this
object should be setup by the XOptionalBindingFactory
Copyright Xoetrope Ltd. (c) 2003-2004
$Revision: 1.2 $
|
Method Summary | |
public void | get() Updates the TextComponent with the value obtained from the data model. | public void | set() Updates the data model with the value retrieved from the TextComponent. | public void | setSource(XModel newNode) |
XTextTableBinding | public XTextTableBinding()(Code) | | |
XTextTableBinding | public XTextTableBinding(Component c, String dataElement)(Code) | | Construct a new data binding
Parameters: c - the component to be bound Parameters: dataElement - the name of the data in the model |
XTextTableBinding | public XTextTableBinding(Component c, String dataElement, XModel srcModel)(Code) | | Construct a new data binding
Parameters: c - the component to be bound Parameters: dataElement - the name of the data in the model Parameters: srcModel - the source model node |
XTextTableBinding | public XTextTableBinding(Component c, String dataElement, XModel srcModel, String attrib)(Code) | | Construct a new data binding
Parameters: c - the component to be bound Parameters: dataElement - the name of the data in the model Parameters: srcModel - the source model node Parameters: attrib - display an attribute of the source node if non null |
get | public void get()(Code) | | Updates the TextComponent with the value obtained from the data model.
|
set | public void set()(Code) | | Updates the data model with the value retrieved from the TextComponent.
|
setSource | public void setSource(XModel newNode)(Code) | | Set the source node for data in the model
Parameters: newNode - the path of the data in the model |
|
|