net.xoetrope.optional.data
Class XTextTableBinding

java.lang.Object
  extended by net.xoetrope.xui.data.XDataBinding
      extended by net.xoetrope.xui.data.XTextBinding
          extended by net.xoetrope.optional.data.XTextTableBinding

public class XTextTableBinding
extends XTextBinding

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: 2.4 $ License: see license.txt


Field Summary
 
Fields inherited from class net.xoetrope.xui.data.XTextBinding
attribStr
 
Fields inherited from class net.xoetrope.xui.data.XDataBinding
component, currentProject, DEFAULT_OUTPUT_PATH, outputModel, outputPath, reevaluate, sourceModel, sourcePath
 
Constructor Summary
XTextTableBinding()
          null ctor
 
Method Summary
 void get()
          Updates the TextComponent with the value obtained from the data model.
 void set()
          Updates the data model with the value retrieved from the TextComponent.
 void setSource(XModel newNode)
          Set the source node for data in the model
 
Methods inherited from class net.xoetrope.xui.data.XTextBinding
getName, getType, setComponentValue, setModelValue, setup
 
Methods inherited from class net.xoetrope.xui.data.XDataBinding
getAttributes, getAttributes, getComponent, getOutput, getOutputPath, getReevaluate, getSource, getSourcePath, setOutput, setOutputPath, setReevaluate, setSourcePath, setupHelper
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XTextTableBinding

public XTextTableBinding()
null ctor

Method Detail

get

public void get()
Updates the TextComponent with the value obtained from the data model.

Overrides:
get in class XTextBinding

set

public void set()
Updates the data model with the value retrieved from the TextComponent.

Overrides:
set in class XTextBinding

setSource

public void setSource(XModel newNode)
Set the source node for data in the model

Overrides:
setSource in class XDataBinding
Parameters:
newNode - the path of the data in the model