public class SelectionMenu<T> extends ConsoleMenu
| Constructor and Description |
|---|
SelectionMenu(List<T> options,
List<String> displayTexts,
String instructions) |
SelectionMenu(List<T> options,
String instructions) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addMenuItems()
Enlists the
H2HConsoleMenuItems of this menu. |
protected String |
getInstruction() |
T |
openAndSelect() |
add, awaitBooleanParameter, awaitIntParameter, awaitStringParameter, createItems, exit, getExitItemText, onMenuExit, open, print, print, printError, printErrorprotected void addMenuItems()
ConsoleMenuH2HConsoleMenuItems of this menu.addMenuItems in class ConsoleMenupublic T openAndSelect()
protected String getInstruction()
getInstruction in class ConsoleMenuCopyright © 2019. All rights reserved.