@InterfaceAudience.Private public class ModeScreenView extends AbstractScreenView
Mode
in the top screen.Constructor and Description |
---|
ModeScreenView(Screen screen,
Terminal terminal,
Mode currentMode,
ModeScreenPresenter.ResultListener resultListener,
ScreenView nextScreenView) |
Modifier and Type | Method and Description |
---|---|
ScreenView |
handleKeyPress(KeyPress keyPress) |
void |
init() |
void |
showMode(int pos,
Mode mode,
boolean selected,
int modeHeaderMaxLength,
int modeDescriptionMaxLength) |
void |
showModeScreen(Mode currentMode,
List<Mode> modes,
int currentPosition,
int modeHeaderMaxLength,
int modeDescriptionMaxLength) |
cancelTimer, clearTerminal, doResizeIfNecessary, getScreen, getTerminal, getTerminalPrinter, getTerminalSize, handleTimer, hideCursor, refreshTerminal, setCursorPosition, setTimer
public ModeScreenView(Screen screen, Terminal terminal, Mode currentMode, ModeScreenPresenter.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 showModeScreen(Mode currentMode, List<Mode> modes, int currentPosition, int modeHeaderMaxLength, int modeDescriptionMaxLength)
public void showMode(int pos, Mode mode, boolean selected, int modeHeaderMaxLength, int modeDescriptionMaxLength)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.