Class Menu
java.lang.Object
com.motivewave.platform.sdk.common.menu.MenuItem
com.motivewave.platform.sdk.common.menu.Menu
Use this class to implement a sub menu that has its own set of menu items
-
Constructor Summary
-
Method Summary
Methods inherited from class com.motivewave.platform.sdk.common.menu.MenuItem
getAction, getText, isChecked, isDisabled, setAction, setChecked, setDisabled, setText
-
Constructor Details
-
Menu
Constructor. Creates a sub menu with the given text label. -
Menu
Constructor. Creates a sub menu with the given text label and list of menu items.
-
-
Method Details
-
getItems
Gets the list of menu items that are displayed in this sub menu- Returns:
- list of menu items displayed in this sub menu
-
setItems
Sets the list of menu items that are displayed in this sub menu.- Parameters:
items
- list of menu items displayed in this sub menu
-