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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidvoidprotected TerminalSizeprotected Screenprotected Terminalprotected TerminalPrintergetTerminalPrinter(int startRow) protected TerminalSizehandleKeyPress(KeyPress keyPress) voidvoidinit()voidvoidsetCursorPosition(int column, int row) protected voidsetTimer(long delay)
-
Field Details
-
screen
-
terminal
-
-
Constructor Details
-
AbstractScreenView
-
-
Method Details
-
init
- Specified by:
initin interfaceScreenView
-
handleKeyPress
- Specified by:
handleKeyPressin interfaceScreenView
-
handleTimer
- Specified by:
handleTimerin interfaceScreenView
-
getScreen
-
getTerminal
-
setTimer
-
cancelTimer
-
getTerminalPrinter
-
getTerminalSize
-
doResizeIfNecessary
-
clearTerminal
-
refreshTerminal
-
hideCursor
-
setCursorPosition
-