org.formaria.data
Class TextTableBinding

java.lang.Object
  extended by org.formaria.aria.data.DataBinding
      extended by org.formaria.aria.data.TextBinding
          extended by org.formaria.data.TextTableBinding

public class TextTableBinding
extends TextBinding

A text binding that binds to a database table field. Normally this object should be setup by the OptionalBindingFactory

Copyright Formaria Ltd. (c) 2008

$Revision: 2.4 $ License: see license.txt


Field Summary
 
Fields inherited from class org.formaria.aria.data.TextBinding
attribStr
 
Fields inherited from class org.formaria.aria.data.DataBinding
component, currentProject, DEFAULT_OUTPUT_PATH, outputModel, outputPath, reevaluate, sourceModel, sourcePath
 
Constructor Summary
TextTableBinding()
          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(DataModel newNode)
          Set the source node for data in the model
 
Methods inherited from class org.formaria.aria.data.TextBinding
getName, getType, setComponentValue, setModelValue, setup
 
Methods inherited from class org.formaria.aria.data.DataBinding
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

TextTableBinding

public TextTableBinding()
null ctor

Method Detail

get

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

Overrides:
get in class TextBinding

set

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

Overrides:
set in class TextBinding

setSource

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

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