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
IOExceptionpublic void enableAlternateScreen()
throws IOException
IOExceptionpublic void enableMainScreen()
throws IOException
IOExceptionpublic Color getBackgroundColor()
public void setBackgroundColor(Color backgroundColor)
public CursorPosition getPosition()
public void setPosition(CursorPosition position)
public Color getForegroundColor()
public void setForegroundColor(Color foregroundColor)
Copyright © 2014 JBoss by Red Hat. All rights reserved.