Class DwtMenu
Defined in: DwtMenu.js.
Class Detail
DwtMenu(params)
Creates a menu.
Author: Ross Dargahi.
Method Detail
addPopdownListener(listener)
Adds a popdown listener.
addPopupListener(listener)
Adds a popup listener.
addSelectionListener(listener)
Adds a selection listener.
checkItem(field, value, skipNotify)
Checks a menu item (the menu must be radio or checkbox style). The menu item
is identified through the given field/value pair.
{DwtMenuItem}
getItem(index)
Gets a menu item.
{DwtMenuItem}
getItemById(key, id)
Gets the item by id.
{number}
getItemCount()
Gets a count of the items.
{array}
getItems()
Gets an array of items.
{boolean}
isPoppedUp()
Checks if the menu is popped-up.
removePopdownListener(listener)
Removes a popdown listener.
removePopupListener(listener)
Removes a popup listener.
removeSelectionListener(listener)
Removes a selection listener.
scrollToItem(item, justMakeVisible)
Checks a menu item (the menu must be radio or checkbox style). The menu item
is identified through the given field/value pair.
setSelectedItem(which, preventFocus)
Programmatically selects a menu item. The item can be specified with an index,
or as the next or previous item based on which item is currently selected. If
the new item is a separator or is disabled, it won't be selected. Instead, the
next suitable item will be used.
|
||||||||||||||||||||||||||||||||||
Documentation generated by JsDoc Toolkit 2.3.0 on Tue Jun 28 2016 21:01:28 GMT-0400 (EDT)
|