|
| PersistedMenu (MenuItem parent, MenuItem item) |
|
int | getParentId () |
|
MenuItem | getItem () |
|
void | setParentId (int parentId) |
|
void | setItem (MenuItem item) |
|
void | setType (String type) |
|
String | getType () |
|
String | getDefaultValue () |
|
void | setDefaultValue (String def) |
|
|
static final String | ANALOG_PERSIST_TYPE = "analogItem" |
|
static final String | ENUM_PERSIST_TYPE = "enumItem" |
|
static final String | SUB_PERSIST_TYPE = "subMenu" |
|
static final String | ACTION_PERSIST_TYPE = "actionMenu" |
|
static final String | RUNTIME_LIST_PERSIST_TYPE = "runtimeList" |
|
static final String | CUSTOM_ITEM_PERSIST_TYPE = "customBuildItem" |
|
static final String | BOOLEAN_PERSIST_TYPE = "boolItem" |
|
static final String | TEXT_PERSIST_TYPE = "textItem" |
|
static final String | FLOAT_PERSIST_TYPE = "floatItem" |
|
static final String | RUNTIME_LARGE_NUM_PERSIST_TYPE = "largeNumItem" |
|
static final String | SCROLL_CHOICE_PERSIST_TYPE = "scrollItem" |
|
static final String | RGB32_COLOR_PERSIST_TYPE = "rgbItem" |
|
static final String | TCMENU_COPY_PREFIX = "tcMenuCopy:" |
|
Represents a persisted menu item, it has additional information needed to reconstitute the item at the right point in the tree, namely the parentId, and also the type of menu item. This class is used by the JsonMenuItemSerializer to store menu items.
- See also
- JsonMenuItemSerializer
The documentation for this class was generated from the following file:
- src/main/java/com/thecoderscorner/menu/persist/PersistedMenu.java