| Modifier and Type | Class | Description |
|---|---|---|
class |
AnalogMenuItem |
Represents an analog (numeric) menu item, it is always a zero based integer when retrieved from storage, but it can
have an offset and divisor, so therefore is able to represent decimal values.
|
class |
BooleanMenuItem |
A menu item that can only hold boolean values (true or false).
|
class |
EnumMenuItem |
A menu item implementation that represents one of a known set of choices, the choices are stored as an integer
value, but each choice has a string representation as well.
|
class |
SubMenuItem |
SubMenuItem represents a menu item that has children.
|
class |
TextMenuItem |
An implementation of menu item that can store text strings.
|
| Modifier and Type | Method | Description |
|---|---|---|
protected void |
MenuItemBuilder.baseFromExisting(MenuItem item) |
| Modifier and Type | Method | Description |
|---|---|---|
Set<MenuItem> |
MenuTree.getAllSubMenus() |
|
Optional<MenuItem> |
MenuTree.getMenuById(SubMenuItem root,
int id) |
|
com.google.common.collect.ImmutableList<MenuItem> |
MenuTree.getMenuItems(MenuItem item) |
|
Optional<MenuItem> |
MenuTree.getSubMenuById(int parentId) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
MenuTree.addMenuItem(SubMenuItem parent,
MenuItem item) |
|
void |
MenuTree.addOrUpdateItem(int parentId,
MenuItem item) |
|
<T> void |
MenuTree.changeItem(MenuItem<T> item,
MenuState<T> menuState) |
|
SubMenuItem |
MenuTree.findParent(MenuItem toFind) |
|
com.google.common.collect.ImmutableList<MenuItem> |
MenuTree.getMenuItems(MenuItem item) |
|
<T> MenuState<T> |
MenuTree.getMenuState(MenuItem<T> item) |
|
void |
MenuTree.moveItem(SubMenuItem parent,
MenuItem newItem,
MenuTree.MoveType moveType) |
|
void |
MenuTree.removeMenuItem(MenuItem toRemove) |
|
void |
MenuTree.removeMenuItem(SubMenuItem parent,
MenuItem item) |
|
void |
MenuTree.replaceMenuById(MenuItem toReplace) |
|
void |
MenuTree.replaceMenuById(SubMenuItem subMenu,
MenuItem toReplace) |
| Modifier and Type | Method | Description |
|---|---|---|
static MenuItem |
MenuItemHelper.createFromExistingWithId(MenuItem selected,
int newId) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
AbstractMenuItemVisitor.anyItem(MenuItem item) |
|
static SubMenuItem |
MenuItemHelper.asSubMenu(MenuItem item) |
|
static MenuItem |
MenuItemHelper.createFromExistingWithId(MenuItem selected,
int newId) |
|
static int |
MenuItemHelper.eepromSizeForItem(MenuItem item) |
|
static <T> Optional<T> |
MenuItemHelper.visitWithResult(MenuItem item,
AbstractMenuItemVisitor<T> visitor) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
RemoteControllerListener.menuItemChanged(MenuItem item,
boolean valueOnly) |
Called when a menu item has either been added or changed, the valueOnly indicates if the change
is just in the latest value, or also in the MenuItem structure too.
|
| Modifier and Type | Class | Description |
|---|---|---|
class |
BootItemMenuCommand<T extends MenuItem,V> |
Copyright © 2018. All rights reserved.