| Type | Name | Description | Notes |
Void | addItem(IlvMenuItem item, Int index) | Inserts a copy of item before the indexth item. If index is omitted or set to an invalid value, the new item is appended to the list of menu items. | |
Object | getItem(UInt index) | Returns the indexth menu item. | |
String | getLabel(UInt index) | Returns the label of the indexth item. | |
Object | getSubMenu(UInt index) | Returns the submenu of the item located at the position index, or null if there is no submenu. | |
UInt | itemsCount | Returns the number of menu entries that are stored in the menu instance. | |
Direction | labelPosition | Sets or returns the default position of the menu item labels relative to their picture. | |
Void | removeItem(UInt index) | Removes the indexth item if it is a valid position. | |
Int | selectedItemIndex | Returns the index of the selected item, or -1 if no item is selected.
Selects the item if it is a valid position. | |
String | setLabel(UInt index, String label) | Sets the indexth item label to label. | |
Void | setSubMenu(UInt index, IlvPopupMenu menu) | Sets menu as the submenu of the item located at the position index. | |
Boolean | showLabel | Specifies whether the labels associated with the menu items are displayed (true) or not (false). | |
Boolean | showPicture | Specifies whether the pictures associated with the menu items are displayed (true) or not (false). | |