@InterfaceAudience.Private public class FieldScreenView extends AbstractScreenView
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, setTimer
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 sortKeyHeader)
public void showField(int pos, Field field, boolean display, boolean selected, int fieldHeaderMaxLength, int fieldDescriptionMaxLength, boolean moveMode)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.