Only private and/or inherited functions are available.
Set or get properties on a widget instance.
Compare 2 values (as returned by attr('value') for this widget).
Connects specified obj/event to specified method of this object
and registers for disconnect() on widget destroy.
Destroy this widget, but not its descendants.
Will, however, destroy internal widgets such as those used within a template.
Recursively destroy the children of this widget and their
descendants.
Destroy this widget and it's descendants. This is the generic
"destructor" function that all widget users should call to
cleanly discard with a widget. Once a widget is destroyed, it's
removed from the manager object.
Destroys the DOM nodes associated with this widget
Disconnects handle created by this.connect.
Also removes handle from this widget's list of connects
Auto-corrections (such as trimming) that are applied to textbox
value on blur or form submit.
Replacable function to convert a value to a properly formatted string.
Returns all the widgets contained by this, i.e., all widgets underneath this.containerNode.
Does not return nested widgets, nor widgets that are part of this widget's template.
Returns all the widgets that contained by this, i.e., all widgets underneath this.containerNode.
This method should generally be avoided as it returns widgets declared in templates, which are
supposed to be internal/hidden, but it's left here for back-compat reasons.
Deprecated. Use attr('displayedValue') instead.
Return an error message to show if appropriate
Return a hint message to show when widget is first focused
Deprecated. Use attr('value') instead.
Tells if this widget is focusable or not. Used internally by dijit.
Checks the page for text direction
Tests if value is valid.
Can override with your own routine in a subclass.
Computes the label to display based on the dojo.data store item.
Called when the widget stops being "active" because
focus moved to something outside of it, or the user
clicked somewhere outside of it, or the widget was
hidden.
Callback when this widget's value is changed.
Connect to this function to receive notifications of mouse click events.
Callback if someone tries to close the child, child will be closed if func returns true
Connect to this function to receive notifications of mouse double click events.
Called when the widget becomes "active" because
it or a widget inside of it either has focus, or has recently
been clicked.
Called when another widget becomes the selected pane in a
dijit.layout.TabContainer, dijit.layout.StackContainer,
dijit.layout.AccordionContainer, etc.
Also called to indicate hide of a dijit.Dialog, dijit.TooltipDialog, or dijit.TitlePane.
Connect to this function to receive notifications of keys being pressed down.
Connect to this function to receive notifications of printable keys being typed.
Connect to this function to receive notifications of keys being released.
Connect to this function to receive notifications of when the mouse button is pressed down.
Connect to this function to receive notifications of when the mouse moves onto this widget.
Connect to this function to receive notifications of when the mouse moves off of this widget.
Connect to this function to receive notifications of when the mouse moves over nodes contained within this widget.
Connect to this function to receive notifications of when the mouse moves off of nodes contained within this widget.
Connect to this function to receive notifications of when the mouse moves onto nodes contained within this widget.
Connect to this function to receive notifications of when the mouse button is released.
Called when this widget becomes the selected pane in a
dijit.layout.TabContainer, dijit.layout.StackContainer,
dijit.layout.AccordionContainer, etc.
Also called to indicate display of a dijit.Dialog, dijit.TooltipDialog, or dijit.TitlePane.
Replacable function to convert a formatted string to a value
Place this widget's domNode reference somewhere in the DOM based
on standard dojo.place conventions, or passing a Widget reference that
contains and addChild member.
Called after a widget's dom has been setup
Called after the parameters to the widget have been read-in,
but before the widget template is instantiated. Especially
useful to set properties that are referenced in the widget
template.
Overridable function used to generate regExp when dependent on constraints.
Do not specify both regExp and regExpGen.
Overridable function used to convert the attr('value') result to a canonical
(non-localized) string. For example, will print dates in ISO format, and
numbers the same way as they are represented in javascript.
Deprecated. Use attr() instead.
Deprecated. Use attr('disabled', ...) instead.
Deprecated. Use attr('displayedValue', ...) instead.
Deprecated. Use attr('value', ...) instead.
Returns widget as a printable string using the widget's value
Restore the value to the last value passed to onChange
Stub function. Override to implement custom widget tear-down
behavior.
Overridable function used to validate the text input against the regular expression.
Step during widget creation to copy all widget attributes to the
DOM as per attributeMap and _setXXXAttr functions.
Reflect a widget attribute (title, tabIndex, duration etc.) to
the widget DOM, as specified in attributeMap.
Overrides ComboBox._doSelect(), the method called when an item in the menu is selected.
Hook so attr('displayedValue') works.
Hook for attr('value') to work.
Returns true if the value is either already valid or could be made valid by appending characters.
This is used for validation while the user [may be] still typing.
This is where widgets do processing for when they stop being active,
such as changing CSS classes. See onBlur() for more details.
Called when someone connects to one of my handlers.
"Turn on" that handler if it isn't active yet.
This is also called for every single initialization parameter
so need to do nothing for parameters like "id".
This is where widgets do processing for when they are active,
such as changing CSS classes. See onFocus() for more details.
Internal method called when this widget is made visible.
See onShow for details.
After the user types some characters, etc., this method is
called to check the field for validity etc. The base method
in dijit.form.TextBox does nothing, but subclasses override.
Hook so attr('value', ...) works.