public class TerminalOutput extends Object
Modifier and Type | Field and Description |
---|---|
static int |
BACKSPACE |
static int |
BCOLOR |
static int |
BEL |
static int |
BLACK |
static int |
BLINK |
static int |
BLINK_OFF |
static int |
BLUE |
static int |
BOLD |
static int |
BOLD_OFF |
static int |
BOX_BOTTOM |
static int |
BOX_BOTTOM_LEFT |
static int |
BOX_BOTTOM_MIDDLE |
static int |
BOX_BOTTOM_RIGHT |
static int |
BOX_CENTER |
static int |
BOX_LEFT |
static int |
BOX_MIDDLE |
static int |
BOX_MIDDLE_LEFT |
static int |
BOX_MIDDLE_MIDDLE |
static int |
BOX_MIDDLE_RIGHT |
static int |
BOX_RIGHT |
static int |
BOX_TOP |
static int |
BOX_TOP_LEFT |
static int |
BOX_TOP_MIDDLE |
static int |
BOX_TOP_RIGHT |
static int |
BS |
static int |
BYTEMISSING |
static int |
CharacterUpdate |
static int |
COLORINIT |
static int |
CR |
static String |
CRLF |
static int |
CYAN |
static int |
DEL |
static int |
DELETE |
static int |
DOWN |
static int |
EBOL |
static int |
EBOS |
static int |
EditBuffer |
static int |
EEL |
static int |
EEOL |
static int |
EEOS |
static int |
EES |
static int |
ENTER |
static int |
EOL_CR |
static int |
EOL_CRLF |
static int |
ESCAPE |
static int |
FCOLOR |
static int |
GRAPHICS_OFF |
static int |
GRAPHICS_ON |
static int |
GREEN |
static int |
HANDLED |
static int[] |
HOME |
static int |
IOERROR |
static int |
ITALIC |
static int |
ITALIC_OFF |
static int |
LEFT |
static int |
LF |
static int |
LineEditBuffer |
static int |
LineUpdate |
static int |
LOGOUTREQUEST |
static int |
MAGENTA |
static int |
RED |
static int |
RESET |
static int |
RESTORECURSOR |
static int |
RIGHT |
static int |
ScreenpartUpdate |
static int |
STORECURSOR |
static int |
STYLE |
static int |
TABULATOR |
static int |
UNDERLINED |
static int |
UNDERLINED_OFF |
static int |
UNRECOGNIZED |
static int |
UP |
static int |
WHITE |
static int |
YELLOW |
Constructor and Description |
---|
TerminalOutput(OutputStream out) |
TerminalOutput(OutputStream out,
String term,
int cols,
int rows,
int width,
int height,
byte[] modes) |
Modifier and Type | Method and Description |
---|---|
void |
attachStream(OutputStream out) |
void |
bell() |
void |
boxCharacter(int specialSequence) |
void |
close() |
void |
closeOutput() |
boolean |
defineScrollRegion(int topmargin,
int bottommargin) |
void |
detachStream() |
void |
disableGraphics() |
void |
enableGraphics() |
void |
eraseLine() |
void |
eraseScreen() |
void |
eraseToBeginOfLine() |
void |
eraseToBeginOfScreen() |
void |
eraseToEndOfLine() |
void |
eraseToEndOfScreen() |
void |
flush() |
OutputStream |
getAttachedOutputStream() |
int |
getCols() |
int |
getColumns() |
int |
getCursorCol() |
int |
getCursorRow() |
byte[] |
getEncodedTerminalModes() |
int |
getEOL() |
String |
getEOLString() |
int |
getHeight() |
int |
getRows() |
String |
getTerm() |
Terminal |
getTerminal() |
int |
getWidth() |
void |
homeCursor() |
boolean |
isAutoflushing() |
boolean |
isSignalling() |
void |
moveCursor(int direction,
int times) |
void |
moveDown(int times) |
void |
moveLeft(int times) |
void |
moveRight(int times) |
void |
moveUp(int times) |
void |
resetAttributes() |
void |
restoreCursor() |
void |
setAutoflushing(boolean b) |
void |
setBackgroundColor(int color) |
void |
setBlink(boolean b) |
void |
setBold(boolean b) |
void |
setCols(int cols) |
void |
setCursor(int row,
int col) |
void |
setDefaultTerminal() |
void |
setDisplay(boolean display) |
void |
setEOL(int eol) |
void |
setForegroundColor(int color) |
void |
setHeight(int height) |
void |
setItalic(boolean b) |
void |
setModes(byte[] modes) |
void |
setRows(int rows) |
void |
setSignalling(boolean bool) |
void |
setTerminal(String terminalName) |
void |
setUnderlined(boolean b) |
void |
setWidth(int width) |
void |
storeCursor() |
public static final int EOL_CRLF
public static final int EOL_CR
public static final int[] HOME
public static final int IOERROR
public static final int UP
public static final int DOWN
public static final int RIGHT
public static final int LEFT
public static final int STORECURSOR
public static final int RESTORECURSOR
public static final int GRAPHICS_ON
public static final int GRAPHICS_OFF
public static final int BOX_TOP_LEFT
public static final int BOX_TOP
public static final int BOX_TOP_MIDDLE
public static final int BOX_TOP_RIGHT
public static final int BOX_MIDDLE_LEFT
public static final int BOX_MIDDLE
public static final int BOX_MIDDLE_MIDDLE
public static final int BOX_MIDDLE_RIGHT
public static final int BOX_BOTTOM_LEFT
public static final int BOX_BOTTOM
public static final int BOX_BOTTOM_MIDDLE
public static final int BOX_BOTTOM_RIGHT
public static final int BOX_LEFT
public static final int BOX_RIGHT
public static final int BOX_CENTER
public static final int EEOL
public static final int EBOL
public static final int EEL
public static final int EEOS
public static final int EBOS
public static final int EES
public static final int ESCAPE
public static final int BYTEMISSING
public static final int UNRECOGNIZED
public static final int ENTER
public static final int TABULATOR
public static final int DELETE
public static final int BACKSPACE
public static final int COLORINIT
public static final int HANDLED
public static final int LOGOUTREQUEST
public static final int LineUpdate
public static final int CharacterUpdate
public static final int ScreenpartUpdate
public static final int EditBuffer
public static final int LineEditBuffer
public static final int BEL
public static final int BS
public static final int DEL
public static final int CR
public static final int LF
public static final int FCOLOR
public static final int BCOLOR
public static final int STYLE
public static final int RESET
public static final int BOLD
public static final int BOLD_OFF
public static final int ITALIC
public static final int ITALIC_OFF
public static final int BLINK
public static final int BLINK_OFF
public static final int UNDERLINED
public static final int UNDERLINED_OFF
public static final int BLACK
public static final int RED
public static final int GREEN
public static final int YELLOW
public static final int BLUE
public static final int MAGENTA
public static final int CYAN
public static final int WHITE
public static final String CRLF
public TerminalOutput(OutputStream out) throws IOException
IOException
public TerminalOutput(OutputStream out, String term, int cols, int rows, int width, int height, byte[] modes) throws IOException
IOException
public void setModes(byte[] modes)
public int getRows()
public int getColumns()
public int getHeight()
public int getWidth()
public String getTerm()
public byte[] getEncodedTerminalModes()
public OutputStream getAttachedOutputStream() throws IOException
IOException
public void detachStream()
public int getEOL()
public String getEOLString()
public void setEOL(int eol)
public void attachStream(OutputStream out)
public int getCols()
public void setCols(int cols)
public void setRows(int rows)
public void setWidth(int width)
public void setHeight(int height)
public void eraseToEndOfLine() throws IOException
IOException
public void eraseToBeginOfLine() throws IOException
IOException
public void eraseLine() throws IOException
IOException
public void eraseToEndOfScreen() throws IOException
IOException
public void eraseToBeginOfScreen() throws IOException
IOException
public void eraseScreen() throws IOException
IOException
public int getCursorRow()
public int getCursorCol()
public void moveCursor(int direction, int times) throws IOException
IOException
public void moveLeft(int times) throws IOException
IOException
public void moveRight(int times) throws IOException
IOException
public void moveUp(int times) throws IOException
IOException
public void moveDown(int times) throws IOException
IOException
public void setCursor(int row, int col) throws IOException
IOException
public void homeCursor() throws IOException
IOException
public void boxCharacter(int specialSequence) throws IOException
IOException
public void enableGraphics() throws IOException
IOException
public void disableGraphics() throws IOException
IOException
public void storeCursor() throws IOException
IOException
public void restoreCursor() throws IOException
IOException
public void setDisplay(boolean display)
public void flush() throws IOException
IOException
public void closeOutput() throws IOException
IOException
public void setSignalling(boolean bool)
public boolean isSignalling()
public void bell() throws IOException
IOException
public boolean defineScrollRegion(int topmargin, int bottommargin) throws IOException
IOException
public void setForegroundColor(int color) throws IOException
IOException
public void setBackgroundColor(int color) throws IOException
IOException
public void setBold(boolean b) throws IOException
IOException
public void setUnderlined(boolean b) throws IOException
IOException
public void setItalic(boolean b) throws IOException
IOException
public void setBlink(boolean b) throws IOException
IOException
public void resetAttributes() throws IOException
IOException
public boolean isAutoflushing()
public void setAutoflushing(boolean b)
public void close() throws IOException
IOException
public Terminal getTerminal()
public void setDefaultTerminal() throws IOException
IOException
public void setTerminal(String terminalName) throws IOException
IOException
Copyright © 2024. All rights reserved.