Extras.MenuStateModel
Constructor Summary | |
---|---|
Public | Extras.MenuStateModel() Creates a new MenuStateModel .
|
Instance Field Summary | |
---|---|
Internal | _disabledItems Disabled menu item ids. |
Internal | _selectedItems Selected menu item ids. |
Instance Method Summary | |
---|---|
Public | isEnabled() Determines if the specified menu item is enabled. |
Public | isSelected() Determines if the specified menu item is selected. |
Public | setEnabled() Sets the enabled state of a menu item. |
Public | setSelected() Sets the selection state of a menu item. |
MenuStateModel
.
modelId
(String)
- the item model idmodelId
(String)
- the item model idmodelId
(String)
- the item model idenabled
(Boolean)
- the enabled statemodelId
(String)
- the item model idselected
(Boolean)
- the selection state