The methods defined in the MenuItem class are summarized in the following table.
| Method | Description |
|---|---|
| getLevel | Returns the level of the menu item |
| getMenuItem | Accesses a dynamically created menu item |
| loadMenu | Dynamically creates a menu item |
| loadSubMenu | Dynamically creates a submenu item |
| setEventMapping | Dynamically sets the method executed for a menu event at run time |
| setEventMappingEx | Dynamically sets the method executed for a menu event at run time |
| setShortCutKey | Dynamically sets the shortcut key displayed for most development environment and editor shortcut keys to values of your choice |
An exception is raised if event methods in this class are invoked from a server method.