Class HelpScreenView
java.lang.Object
org.apache.hadoop.hbase.hbtop.screen.AbstractScreenView
org.apache.hadoop.hbase.hbtop.screen.help.HelpScreenView
- All Implemented Interfaces:
ScreenView
The help screen.
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private final HelpScreenPresenter
private static final int
-
Constructor Summary
ConstructorDescriptionHelpScreenView
(Screen screen, Terminal terminal, long refreshDelay, ScreenView nextScreenView) -
Method Summary
Modifier and TypeMethodDescriptionhandleKeyPress
(KeyPress keyPress) void
init()
private void
showCommandDescription
(TerminalPrinter terminalPrinter, CommandDescription commandDescription) void
showHelpScreen
(long refreshDelay, CommandDescription[] commandDescriptions) private void
showScreenDescription
(long refreshDelay) Methods inherited from class org.apache.hadoop.hbase.hbtop.screen.AbstractScreenView
cancelTimer, clearTerminal, doResizeIfNecessary, getScreen, getTerminal, getTerminalPrinter, getTerminalSize, handleTimer, hideCursor, refreshTerminal, setCursorPosition, setTimer
-
Field Details
-
SCREEN_DESCRIPTION_START_ROW
- See Also:
-
COMMAND_DESCRIPTION_START_ROW
- See Also:
-
helpScreenPresenter
-
-
Constructor Details
-
HelpScreenView
public HelpScreenView(Screen screen, Terminal terminal, long refreshDelay, ScreenView nextScreenView)
-
-
Method Details
-
init
- Specified by:
init
in interfaceScreenView
- Overrides:
init
in classAbstractScreenView
-
handleKeyPress
- Specified by:
handleKeyPress
in interfaceScreenView
- Overrides:
handleKeyPress
in classAbstractScreenView
-
showHelpScreen
-
showScreenDescription
-
showCommandDescription
private void showCommandDescription(TerminalPrinter terminalPrinter, CommandDescription commandDescription)
-