@InterfaceAudience.Private public class FieldScreenView extends AbstractScreenView
| Modifier and Type | Field and Description |
|---|---|
private static int |
FIELD_START_ROW |
private FieldScreenPresenter |
fieldScreenPresenter |
private static int |
SCREEN_DESCRIPTION_START_ROW |
| Constructor and Description |
|---|
FieldScreenView(Screen screen,
Terminal terminal,
Field sortField,
List<Field> fields,
EnumMap<Field,Boolean> fieldDisplayMap,
FieldScreenPresenter.ResultListener resultListener,
ScreenView nextScreenView) |
| Modifier and Type | Method and Description |
|---|---|
ScreenView |
handleKeyPress(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 sortKeyHeader) |
cancelTimer, clearTerminal, doResizeIfNecessary, getScreen, getTerminal, getTerminalPrinter, getTerminalSize, handleTimer, hideCursor, refreshTerminal, setCursorPosition, setTimerprivate static final int SCREEN_DESCRIPTION_START_ROW
private static final int FIELD_START_ROW
private final FieldScreenPresenter fieldScreenPresenter
public FieldScreenView(Screen screen, Terminal terminal, Field sortField, List<Field> fields, EnumMap<Field,Boolean> fieldDisplayMap, FieldScreenPresenter.ResultListener resultListener, ScreenView nextScreenView)
public void init()
init in interface ScreenViewinit in class AbstractScreenViewpublic ScreenView handleKeyPress(KeyPress keyPress)
handleKeyPress in interface ScreenViewhandleKeyPress in class AbstractScreenViewpublic void showFieldScreen(String sortFieldHeader, List<Field> fields, EnumMap<Field,Boolean> fieldDisplayMap, int currentPosition, int headerMaxLength, int descriptionMaxLength, boolean moveMode)
public void showScreenDescription(String sortKeyHeader)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.