Only private and/or inherited functions are available.
Set or get properties on a widget instance.
Attach menu to given node
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
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.
returns an array of placeholders with the given label. There
can be multiples.
Return true if this widget can currently be focused
and false if not
Checks the page for text direction
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.
Attach point for notification about when the user cancels the current menu
This is an internal mechanism used for Menus to signal to their parent to
close them. In general developers should not attach to or override this method.
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.
Attach point for notification about when a menu item has been executed.
This is an internal mechanism used for Menus to signal to their parent to
close them, because they are about to execute the onClick handler. In
general developers should not attach to or override this method.
Called when the widget becomes "active" because
it or a widget inside of it either has focus, or has recently
been clicked.
Handle clicks on an item.
Callback fires when mouse exits a MenuItem
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.
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.
Deprecated. Use attr() instead.
Returns a string that represents the widget. When a widget is
cast to a string, this method will be used to generate the
output. Currently, it does not implement any sort of reversable
serialization.
Detach menu from given node
Stub function. Override to implement custom widget tear-down
behavior.
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.
Returns the top menu in this chain of Menus
Returns a reference to the document object inside iframe_el
Returns the window reference of the passed iframe
This handles the right arrow key (left arrow key on RTL systems),
which will either open a submenu, or move to the next item in the
ancestor MenuBar
This is where widgets do processing for when they stop being active,
such as changing CSS classes. See onBlur() for more details.
Called when a child MenuItem becomes inactive because focus
has been removed from the MenuItem *and* it's descendant menus.
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".
Called when submenu is clicked. Close hierarchy of menus.
This is where widgets do processing for when they are active,
such as changing CSS classes. See onFocus() for more details.
Handle keyboard based menu navigation.