Class InputModeScreenPresenter
java.lang.Object
org.apache.hadoop.hbase.hbtop.screen.top.InputModeScreenPresenter
The presentation logic for the input mode.
-
Field Summary
Modifier and TypeFieldDescriptionprivate int
private int
private final InputModeScreenView
private StringBuilder
private final String
private final Function<String,
ScreenView> -
Constructor Summary
ConstructorDescriptionInputModeScreenPresenter
(InputModeScreenView inputModeScreenView, String message, List<String> histories, Function<String, ScreenView> resultListener) -
Method Summary
-
Field Details
-
inputModeScreenView
-
message
-
histories
-
resultListener
-
inputString
-
cursorPosition
-
historyPosition
-
-
Constructor Details
-
InputModeScreenPresenter
public InputModeScreenPresenter(InputModeScreenView inputModeScreenView, String message, @Nullable List<String> histories, Function<String, ScreenView> resultListener)
-
-
Method Details
-
init
-
returnToNextScreen
-
character
-
backspace
-
delete
-
arrowLeft
-
arrowRight
-
home
-
end
-
arrowUp
-
arrowDown
-