Class ValueVar

Defined in widgets.js

A ValueVar is the simplest type of DOMVariable. It binds to something that has a ".getAttribute('value')" and a ".setAttribute('value', val)" interface, usually an input field or a sub-widget. This is the default DOMVariable type used by Widgets if a type is not explicitly specified.

Field Summary
 Object input
          Stores the DOM node or widget this instance looks to for our value.
Constructor Summary
ValueVar (widget, nodeName)
Method Summary
 Object get()
           Retrieve the 'value' of the targetted DOM node or widget.
 void set(value)
           Set the value of the targetted DOM node or widget to the desired value.

Field Detail


Object input

Constructor Detail


ValueVar(widget, nodeName)

Method Detail


Object get()


void set(value)

Documentation generated by JSDoc on Tue May 3 17:16:26 2005