@InterfaceAudience.Private public interface Terminal extends Closeable
Modifier and Type | Method and Description |
---|---|
void |
clear() |
TerminalSize |
doResizeIfNecessary() |
CursorPosition |
getCursorPosition() |
TerminalSize |
getSize() |
TerminalPrinter |
getTerminalPrinter(int startRow) |
void |
hideCursor() |
KeyPress |
pollKeyPress() |
void |
refresh() |
void |
setCursorPosition(int column,
int row) |
void clear()
void refresh()
TerminalSize getSize()
@Nullable TerminalSize doResizeIfNecessary()
@Nullable KeyPress pollKeyPress()
CursorPosition getCursorPosition()
void setCursorPosition(int column, int row)
void hideCursor()
TerminalPrinter getTerminalPrinter(int startRow)
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.