@InterfaceAudience.Private public class MessageModeScreenView extends AbstractScreenView
Modifier and Type | Field and Description |
---|---|
private MessageModeScreenPresenter |
messageModeScreenPresenter |
private int |
row |
Constructor and Description |
---|
MessageModeScreenView(Screen screen,
Terminal terminal,
int row,
String message,
ScreenView nextScreenView) |
Modifier and Type | Method and Description |
---|---|
ScreenView |
handleKeyPress(KeyPress keyPress) |
ScreenView |
handleTimer() |
void |
init() |
void |
showMessage(String message) |
cancelTimer, clearTerminal, doResizeIfNecessary, getScreen, getTerminal, getTerminalPrinter, getTerminalSize, hideCursor, refreshTerminal, setCursorPosition, setTimer
private final int row
private final MessageModeScreenPresenter messageModeScreenPresenter
public MessageModeScreenView(Screen screen, Terminal terminal, int row, String message, ScreenView nextScreenView)
public void init()
init
in interface ScreenView
init
in class AbstractScreenView
public ScreenView handleTimer()
handleTimer
in interface ScreenView
handleTimer
in class AbstractScreenView
public ScreenView handleKeyPress(KeyPress keyPress)
handleKeyPress
in interface ScreenView
handleKeyPress
in class AbstractScreenView
public void showMessage(String message)
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.