Class AbstractScreenView
java.lang.Object
org.apache.hadoop.hbase.hbtop.screen.AbstractScreenView
- All Implemented Interfaces:
ScreenView
- Direct Known Subclasses:
FieldScreenView
,FilterDisplayModeScreenView
,HelpScreenView
,InputModeScreenView
,MessageModeScreenView
,ModeScreenView
,TopScreenView
An abstract class for
ScreenView
that has the common useful methods and the default
implementations for the abstract methods.-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
void
protected TerminalSize
protected Screen
protected Terminal
protected TerminalPrinter
getTerminalPrinter
(int startRow) protected TerminalSize
handleKeyPress
(KeyPress keyPress) void
void
init()
void
void
setCursorPosition
(int column, int row) protected void
setTimer
(long delay)
-
Field Details
-
screen
-
terminal
-
-
Constructor Details
-
AbstractScreenView
-
-
Method Details
-
init
- Specified by:
init
in interfaceScreenView
-
handleKeyPress
- Specified by:
handleKeyPress
in interfaceScreenView
-
handleTimer
- Specified by:
handleTimer
in interfaceScreenView
-
getScreen
-
getTerminal
-
setTimer
-
cancelTimer
-
getTerminalPrinter
-
getTerminalSize
-
doResizeIfNecessary
-
clearTerminal
-
refreshTerminal
-
hideCursor
-
setCursorPosition
-