Class ModeScreenPresenter
java.lang.Object
org.apache.hadoop.hbase.hbtop.screen.mode.ModeScreenPresenter
The presentation logic for the mode screen.
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Mode
private int
private final int
private final int
private final ModeScreenView
private final ScreenView
-
Constructor Summary
ConstructorDescriptionModeScreenPresenter
(ModeScreenView modeScreenView, Mode currentMode, Consumer<Mode> resultListener, ScreenView nextScreenView) -
Method Summary
-
Field Details
-
modeScreenView
-
currentMode
-
resultListener
-
nextScreenView
-
modeHeaderMaxLength
-
modeDescriptionMaxLength
-
modes
-
currentPosition
-
-
Constructor Details
-
ModeScreenPresenter
public ModeScreenPresenter(ModeScreenView modeScreenView, Mode currentMode, Consumer<Mode> resultListener, ScreenView nextScreenView)
-
-
Method Details
-
init
-
arrowUp
-
arrowDown
-
pageUp
-
pageDown
-
showMode
-
transitionToNextScreen
-