Modifier and Type | Class and Description |
---|---|
class |
ActionView
The view that is used for a custom leaf functionality implementation.
|
class |
MenuView
The View that displays a list of options with index numbers, and asks the user to select one to proceed.
|
Modifier and Type | Field and Description |
---|---|
protected AbstractView |
AbstractView.parentView
the parent view of the current view
if the current view is the root view, this field will always be
null |
Modifier and Type | Field and Description |
---|---|
protected List<AbstractView> |
MenuView.menuItems
a list of
AbstractView objects to be displayed in the menu as available options |
Modifier and Type | Method and Description |
---|---|
AbstractView |
AbstractView.getParentView() |
Modifier and Type | Method and Description |
---|---|
List<AbstractView> |
MenuView.getMenuItems() |
Modifier and Type | Method and Description |
---|---|
void |
MenuView.addMenuItem(AbstractView menuItem)
Add an entry to the menu; similar to remove, setter and getter
|
void |
MenuView.removeMenuItem(AbstractView menuItem) |
void |
AbstractView.setParentView(AbstractView parentView) |
Modifier and Type | Method and Description |
---|---|
void |
MenuView.setMenuItems(List<AbstractView> menuItems) |
Copyright © 2016. All rights reserved.