@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 sortFieldHeader) |
cancelTimer, clearTerminal, doResizeIfNecessary, getScreen, getTerminal, getTerminalPrinter, getTerminalSize, handleTimer, hideCursor, refreshTerminal, setCursorPosition, setTimer
private 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 ScreenView
init
in class AbstractScreenView
public ScreenView handleKeyPress(KeyPress keyPress)
handleKeyPress
in interface ScreenView
handleKeyPress
in class AbstractScreenView
public void showFieldScreen(String sortFieldHeader, List<Field> fields, EnumMap<Field,Boolean> fieldDisplayMap, int currentPosition, int headerMaxLength, int descriptionMaxLength, boolean moveMode)
public void showScreenDescription(String sortFieldHeader)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.