@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, setTimerpublic ModeScreenView(Screen screen, Terminal terminal, Mode currentMode, ModeScreenPresenter.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 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.