@InterfaceAudience.Private public class InputModeScreenView extends AbstractScreenView
Modifier and Type | Field and Description |
---|---|
private InputModeScreenPresenter |
inputModeScreenPresenter |
private int |
row |
Constructor and Description |
---|
InputModeScreenView(Screen screen,
Terminal terminal,
int row,
String message,
List<String> histories,
Function<String,ScreenView> resultListener) |
Modifier and Type | Method and Description |
---|---|
ScreenView |
handleKeyPress(KeyPress keyPress) |
void |
init() |
void |
showInput(String message,
String inputString,
int cursorPosition) |
cancelTimer, clearTerminal, doResizeIfNecessary, getScreen, getTerminal, getTerminalPrinter, getTerminalSize, handleTimer, hideCursor, refreshTerminal, setCursorPosition, setTimer
private final int row
private final InputModeScreenPresenter inputModeScreenPresenter
public InputModeScreenView(Screen screen, Terminal terminal, int row, String message, List<String> histories, Function<String,ScreenView> resultListener)
public void init()
init
in interface ScreenView
init
in class AbstractScreenView
public ScreenView handleKeyPress(KeyPress keyPress)
handleKeyPress
in interface ScreenView
handleKeyPress
in class AbstractScreenView
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.