public class TerminalHandler extends Object
Constructor and Description |
---|
TerminalHandler(Terminal terminal) |
Modifier and Type | Method and Description |
---|---|
void |
clearScreen() |
void |
enableAlternateScreen() |
void |
enableMainScreen() |
Color |
getBackgroundColor() |
Color |
getForegroundColor() |
CursorPosition |
getPosition() |
Terminal |
getTerminal() |
void |
setBackgroundColor(Color backgroundColor) |
void |
setForegroundColor(Color foregroundColor) |
void |
setPosition(CursorPosition position) |
public TerminalHandler(Terminal terminal)
public Terminal getTerminal()
public void clearScreen() throws IOException
IOException
public void enableAlternateScreen() throws IOException
IOException
public void enableMainScreen() throws IOException
IOException
public Color getBackgroundColor()
public void setBackgroundColor(Color backgroundColor)
public CursorPosition getPosition()
public void setPosition(CursorPosition position)
public Color getForegroundColor()
public void setForegroundColor(Color foregroundColor)
Copyright © 2015 JBoss by Red Hat. All rights reserved.