@InterfaceAudience.Private public class FieldScreenPresenter extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
FieldScreenPresenter.ResultListener |
Modifier and Type | Field and Description |
---|---|
private int |
currentPosition |
private int |
descriptionMaxLength |
private EnumMap<Field,Boolean> |
fieldDisplayMap |
private List<Field> |
fields |
private FieldScreenView |
fieldScreenView |
private int |
headerMaxLength |
private boolean |
moveMode |
private ScreenView |
nextScreenView |
private FieldScreenPresenter.ResultListener |
resultListener |
private Field |
sortField |
Constructor and Description |
---|
FieldScreenPresenter(FieldScreenView fieldScreenView,
Field sortField,
List<Field> fields,
EnumMap<Field,Boolean> fieldDisplayMap,
FieldScreenPresenter.ResultListener resultListener,
ScreenView nextScreenView) |
Modifier and Type | Method and Description |
---|---|
void |
arrowDown() |
void |
arrowUp() |
void |
init() |
void |
pageDown() |
void |
pageUp() |
void |
setSortField() |
private void |
showField(int pos) |
void |
switchFieldDisplay() |
ScreenView |
transitionToNextScreen() |
void |
turnOffMoveMode() |
void |
turnOnMoveMode() |
private final FieldScreenView fieldScreenView
private final EnumMap<Field,Boolean> fieldDisplayMap
private final FieldScreenPresenter.ResultListener resultListener
private final ScreenView nextScreenView
private final int headerMaxLength
private final int descriptionMaxLength
private int currentPosition
private boolean moveMode
public FieldScreenPresenter(FieldScreenView fieldScreenView, Field sortField, List<Field> fields, EnumMap<Field,Boolean> fieldDisplayMap, FieldScreenPresenter.ResultListener resultListener, ScreenView nextScreenView)
public void init()
public void arrowUp()
public void arrowDown()
public void pageUp()
public void pageDown()
public void turnOnMoveMode()
public void turnOffMoveMode()
public void switchFieldDisplay()
private void showField(int pos)
public void setSortField()
public ScreenView transitionToNextScreen()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.