Class Rico.Menu
Extends
Rico.Popup.
Implements popup menus and submenus
Defined in: <ricoMenu.js>.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Rico.Menu(options)
|
| Method Attributes | Method Name and Description |
|---|---|
|
addMenuHeading(hdg)
|
|
|
addMenuItem(menutext, action, enabled, title, translate, target)
|
|
|
addMenuItemId(phraseId, action, enabled, title, target)
|
|
|
addSubMenuItem(menutext, submenu, translate)
|
|
|
createDiv(parentNode)
|
|
|
hidemenu()
|
|
|
mouseOut(e)
|
|
|
mouseOver(e)
|
|
|
openmenu(x, y, clickItemWi, clickItemHt)
|
|
|
showmenu(e, hideFunc)
|
|
|
showSubMenu(a, submenu)
|
|
|
subMenuOut(e)
|
- Methods borrowed from class Rico.Popup:
- closePopup, createPopup, createWindow, move, openPopup, setDiv
Method Detail
addMenuBreak()
addMenuHeading(hdg)
- Parameters:
- hdg
addMenuItem(menutext, action, enabled, title, translate, target)
- Parameters:
- menutext
- action
- enabled
- title
- translate
- target
addMenuItemId(phraseId, action, enabled, title, target)
- Parameters:
- phraseId
- action
- enabled
- title
- target
addSubMenuItem(menutext, submenu, translate)
- Parameters:
- menutext
- submenu
- translate
cancelmenu()
clearMenu()
createDiv(parentNode)
- Parameters:
- parentNode
hidemenu()
hideSubMenu()
isVisible()
mouseOut(e)
- Parameters:
- e
mouseOver(e)
- Parameters:
- e
openmenu(x, y, clickItemWi, clickItemHt)
- Parameters:
- x
- y
- clickItemWi
- clickItemHt
showmenu(e, hideFunc)
- Parameters:
- e
- hideFunc
showSubMenu(a, submenu)
- Parameters:
- a
- submenu
subMenuOut(e)
- Parameters:
- e