Class Index | File Index

Classes


Class dijit.form.FormValueWidget


Extends dijit.form.FormWidget.

Defined in: _FormWidget.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Base class for widgets corresponding to native HTML elements such as or
Fields borrowed from class dijit.form.FormWidget:
_onChangeActive, alt, disabled, intermediateChanges, name, scrollOnFocus, tabIndex, type, value
Fields borrowed from class dijit.Widget:
_blankGif, _deferredConnects, _started, attributeMap, baseClass, containerNode, dir, domNode, id, lang, nodesWithKeyClick, srcNodeRef, style, title, tooltip
Fields borrowed from class dijit.Templated:
_attachPoints, _earlyTemplatedStartup, _skipNodeCache, templatePath, templateString, widgetsInTemplate
Fields borrowed from class dijit.CssStateMixin:
cssStateNodes
Method Summary
Method Attributes Method Name and Description
<private>  
Hook so get('value') works.
<private>  
Work around table sizing bugs on IE7 by forcing redraw
<private>  
_setValueAttr(newValue, priorityChange)
Hook so set('value', value) works.
 
Reset the widget's value to what it was at initialization time
 
undo()
Restore the value to the last value passed to onChange
Methods borrowed from class dijit.form.FormWidget:
_handleOnChange, compare, focus, getValue, isFocusable, onChange, setDisabled, setValue
Methods borrowed from class dijit.Widget:
_applyAttributes, _attrToDom, _getAttrNames, _onBlur, _onConnect, _onFocus, _onShow, _setClassAttr, _setStyleAttr, attr, buildRendering, connect, create, destroy, destroyDescendants, destroyRecursive, destroyRendering, disconnect, get, getChildren, getDescendants, isLeftToRight, onBlur, onClick, onClose, onDblClick, onFocus, onKeyDown, onKeyPress, onKeyUp, onMouseDown, onMouseEnter, onMouseLeave, onMouseMove, onMouseOut, onMouseOver, onMouseUp, onShow, placeAt, postCreate, postMixInProperties, postscript, set, setAttribute, startup, subscribe, toString, uninitialize, unsubscribe
Methods borrowed from class dijit.Templated:
_attachTemplateNodes, _fillContent, _stringRepl
Methods borrowed from class dijit.CssStateMixin:
_cssMouseEvent, _setStateClass, _trackMouseState
Class Detail
dijit.form.FormValueWidget()
Base class for widgets corresponding to native HTML elements such as or element, to which it serializes it's input value, so that form submission (either normal submission or via FormBind?) works as expected.
Method Detail
<private> _getValueAttr()
Hook so get('value') works.

<private> _layoutHackIE7()
Work around table sizing bugs on IE7 by forcing redraw

<private> _setValueAttr(newValue, priorityChange)
Hook so set('value', value) works. Sets the value of the widget. If the value has changed, then fire onChange event, unless priorityChange is specified as null (or false?)
Parameters:
{anything} newValue
{Boolean} priorityChange Optional

reset()
Reset the widget's value to what it was at initialization time

undo()
Restore the value to the last value passed to onChange

Documentation generated by JsDoc Toolkit 2.3.2 on Mon Sep 20 2010 21:52:25 GMT+0900 (JST)