mdm.Menu.Main


Methods
The following table lists the methods for the Menu.Main class

Method Description Availability
Menu.Main.insertDivider() Inserts a menu divider in the specified menu header.
Menu.Main.insertHeader() Inserts a menu header.
Menu.Main.insertItem() Inserts a menu item into the specified header.
Menu.Main.itemChecked() Checks or unchecks the specified menu item.
Menu.Main.itemEnabled() Enables or disables the specified menu item.
Menu.Main.removeHeader() Removes the specified menu header.
Menu.Main.removeItem() Removes the specified menu item.

Properties
The following table lists the properties for the Menu.Main class

Method Description Availability
Menu.Main.menuType Sets the method to use with the main menu.

Events
The following table lists the events for the Menu.Main class

Method Description Availability
onMenuClick Event "onMenuClick" is dispatched when the us...