Package org.jline.consoleui.prompt
Class AbstractPrompt.ListChoicePrompt<T extends ListItemIF>
java.lang.Object
org.jline.consoleui.prompt.AbstractPrompt<T>
org.jline.consoleui.prompt.AbstractPrompt.ListChoicePrompt<T>
- Enclosing class:
AbstractPrompt<T extends ConsoleUIItemIF>
protected static class AbstractPrompt.ListChoicePrompt<T extends ListItemIF>
extends AbstractPrompt<T>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jline.consoleui.prompt.AbstractPrompt
AbstractPrompt.CheckboxPrompt, AbstractPrompt.ConfirmPrompt, AbstractPrompt.ExpandableChoiceException, AbstractPrompt.ExpandableChoicePrompt, AbstractPrompt.InputValuePrompt, AbstractPrompt.ListChoicePrompt<T extends ListItemIF>
-
Field Summary
Fields inherited from class org.jline.consoleui.prompt.AbstractPrompt
bindingReader, config, DEFAULT_TIMEOUT_WITH_ESC, firstItemRow, terminal
-
Method Summary
Modifier and TypeMethodDescriptionexecute()
static <T extends ListItemIF>
AbstractPrompt.ListChoicePrompt<T> getPrompt
(org.jline.terminal.Terminal terminal, org.jline.utils.Display display, List<org.jline.utils.AttributedString> header, org.jline.utils.AttributedString message, List<T> listItems, int pageSize, ConsolePrompt.UiConfig cfg) Methods inherited from class org.jline.consoleui.prompt.AbstractPrompt
refreshDisplay, refreshDisplay, refreshDisplay, refreshDisplay, resetDisplay, resetHeader
-
Method Details
-
getPrompt
public static <T extends ListItemIF> AbstractPrompt.ListChoicePrompt<T> getPrompt(org.jline.terminal.Terminal terminal, org.jline.utils.Display display, List<org.jline.utils.AttributedString> header, org.jline.utils.AttributedString message, List<T> listItems, int pageSize, ConsolePrompt.UiConfig cfg) -
execute
-