Class FieldScreenView
java.lang.Object
org.apache.hadoop.hbase.hbtop.screen.AbstractScreenView
org.apache.hadoop.hbase.hbtop.screen.field.FieldScreenView
- All Implemented Interfaces:
ScreenView
The screen where we can change the displayed fields, the sort key and the order of the fields.
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final int
private final FieldScreenPresenter
private static final int
-
Constructor Summary
ConstructorDescriptionFieldScreenView
(Screen screen, Terminal terminal, Field sortField, List<Field> fields, EnumMap<Field, Boolean> fieldDisplayMap, FieldScreenPresenter.ResultListener resultListener, ScreenView nextScreenView) -
Method Summary
Modifier and TypeMethodDescriptionhandleKeyPress
(KeyPress keyPress) void
init()
void
showField
(int pos, Field field, boolean display, boolean selected, int fieldHeaderMaxLength, int fieldDescriptionMaxLength, boolean moveMode) void
showFieldScreen
(String sortFieldHeader, List<Field> fields, EnumMap<Field, Boolean> fieldDisplayMap, int currentPosition, int headerMaxLength, int descriptionMaxLength, boolean moveMode) void
showScreenDescription
(String sortFieldHeader) 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:
-
FIELD_START_ROW
- See Also:
-
fieldScreenPresenter
-
-
Constructor Details
-
FieldScreenView
public FieldScreenView(Screen screen, Terminal terminal, Field sortField, List<Field> fields, EnumMap<Field, Boolean> fieldDisplayMap, FieldScreenPresenter.ResultListener resultListener, ScreenView nextScreenView)
-
-
Method Details
-
init
- Specified by:
init
in interfaceScreenView
- Overrides:
init
in classAbstractScreenView
-
handleKeyPress
- Specified by:
handleKeyPress
in interfaceScreenView
- Overrides:
handleKeyPress
in classAbstractScreenView
-
showFieldScreen
-
showScreenDescription
-
showField
-