OverviewSingleDeprecatedPropertiesEventsXSL Parameters

jsx3.amp.util

class MenuManager

Object
->jsx3.lang.Object
  ->jsx3.amp.util.MenuManager

class MenuManager
extends jsx3.lang.Object
Manages a set of menus. Provided by the jsx3.amp.util.menumgr plug-in.

Constructor Summary
void
The instance initializer.
Method Summary
void
Adds a menu item to this manager.
void
Adds a menu to this manager.
void
addMenuBar(strPath : String, objContainer : jsx3.app.Model)
Adds a menu bar to this manager.
void
Paints all the menus in this manager into their respective menu bars.
void
getMenu(strPath : String)
Returns the menu with full path strPath.
jsx3.$Array<jsx3.amp.util.Menu>
Returns all the menus in this manager.
Methods Inherited From jsx3.lang.Object
clone, equals, eval, getClass, getInstanceOf, getInstanceOfClass, getInstanceOfPackage, instanceOf, isInstanceOf, isSubclassOf, jsxmix, jsxsuper, jsxsupermix, setInstanceOf, toString
Constructor Detail

init

void init()
The instance initializer.
Method Detail

addItem

void addItem(objItem : jsx3.amp.util.MenuItem)
Adds a menu item to this manager.

Parameters:

objItem

addMenu

void addMenu(objMenu : jsx3.amp.util.Menu)
Adds a menu to this manager.

Parameters:

objMenu

addMenuBar

void addMenuBar(strPath : String, objContainer : jsx3.app.Model)
Adds a menu bar to this manager. Any menu encountered at strPath will be inserted into the menu bar.

Parameters:

strPaththe menu bar path.
objContainerthe menu bar GUI object.

finishInit

void finishInit()
Paints all the menus in this manager into their respective menu bars.

getMenu

void getMenu(strPath : String)
Returns the menu with full path strPath.

Parameters:

strPath

getMenus

jsx3.$Array<jsx3.amp.util.Menu> getMenus()
Returns all the menus in this manager.

Returns: