process* corresponding to ANSI escape codes.
This class methods implementations are empty: subclasses should actually perform the
ANSI escape behaviors by implementing active code in process* methods.
For more information about ANSI escape codes, see Wikipedia article
| Modifier and Type | Field and Description |
|---|---|
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected static final int | |
| protected final OutputStream | |
| protected static final int | |
| protected static final int | |
| protected static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected int | getNextOptionInt(Iterator<Object>
the underlying iterator optionsIterator)Helper for processEscapeCommand() to iterate over integer options |
| private int | |
| private int | |
| protected void | |
| protected void | processChangeIconName(String
icon label label)process |
| protected void | processChangeIconNameAndWindowTitle(String
window title name label)process |
| protected void | processChangeWindowTitle(String
window title text label)process |
| protected boolean | Returns: true if the charcter set select command was processed.options options)Process character set sequence. |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | processCursorTo(int
row row, int col col)process |
| protected void | processCursorToColumn(int
the column x)process |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | |
| protected void | processEraseLine(int
eraseOption eraseOption)Process |
| protected void | processEraseScreen(int
eraseOption eraseOption)Process |
| protected boolean | Returns: true if the escape command was processed.
|
| protected void | |
| protected boolean | Returns: true if the operating system command was processed.
|
| protected void | processRestoreCursorPosition()
Process |
| protected void | |
| protected void | |
| protected void | |
| protected void | processSetAttribute(int
attribute attribute)process |
| protected void | processSetBackgroundColor(int
the background color color)process |
| protected void | processSetBackgroundColor(int
the background color color, boolean is high intensity? bright)process |
| protected void | processSetBackgroundColorExt(int
the background color in the palette paletteIndex)process |
| protected void | processSetBackgroundColorExt(int
red r, int green g, int blue b)process |
| protected void | processSetForegroundColor(int
the text color color)process |
| protected void | processSetForegroundColor(int
the text color color, boolean is high intensity? bright)process |
| protected void | processSetForegroundColorExt(int
the text color in the palette paletteIndex)process |
| protected void | processSetForegroundColorExt(int
red r, int green g, int blue b)process |
| protected void | processUnknownExtension(ArrayList<Object>
options options, int command command)Process Unknown Extension |
| protected void | processUnknownOperatingSystemCommand(int
command command, String param param)Process unknown |
| ATTRIBUTE_BLINK_FAST | back to summary |
|---|---|
| protected static final int ATTRIBUTE_BLINK_FAST | |
| ATTRIBUTE_BLINK_OFF | back to summary |
|---|---|
| protected static final int ATTRIBUTE_BLINK_OFF | |
| ATTRIBUTE_BLINK_SLOW | back to summary |
|---|---|
| protected static final int ATTRIBUTE_BLINK_SLOW | |
| ATTRIBUTE_CONCEAL_OFF | back to summary |
|---|---|
| protected static final int ATTRIBUTE_CONCEAL_OFF | |
| ATTRIBUTE_CONCEAL_ON | back to summary |
|---|---|
| protected static final int ATTRIBUTE_CONCEAL_ON | |
| ATTRIBUTE_INTENSITY_BOLD | back to summary |
|---|---|
| protected static final int ATTRIBUTE_INTENSITY_BOLD | |
| ATTRIBUTE_INTENSITY_FAINT | back to summary |
|---|---|
| protected static final int ATTRIBUTE_INTENSITY_FAINT | |
| ATTRIBUTE_INTENSITY_NORMAL | back to summary |
|---|---|
| protected static final int ATTRIBUTE_INTENSITY_NORMAL | |
| ATTRIBUTE_ITALIC | back to summary |
|---|---|
| protected static final int ATTRIBUTE_ITALIC | |
| ATTRIBUTE_NEGATIVE_OFF | back to summary |
|---|---|
| protected static final int ATTRIBUTE_NEGATIVE_OFF | |
| ATTRIBUTE_NEGATIVE_ON | back to summary |
|---|---|
| protected static final int ATTRIBUTE_NEGATIVE_ON | |
| ATTRIBUTE_UNDERLINE | back to summary |
|---|---|
| protected static final int ATTRIBUTE_UNDERLINE | |
| ATTRIBUTE_UNDERLINE_DOUBLE | back to summary |
|---|---|
| protected static final int ATTRIBUTE_UNDERLINE_DOUBLE | |
| ATTRIBUTE_UNDERLINE_OFF | back to summary |
|---|---|
| protected static final int ATTRIBUTE_UNDERLINE_OFF | |
| BLACK | back to summary |
|---|---|
| protected static final int BLACK | |
| BLUE | back to summary |
|---|---|
| protected static final int BLUE | |
| CYAN | back to summary |
|---|---|
| protected static final int CYAN | |
| ERASE_LINE | back to summary |
|---|---|
| protected static final int ERASE_LINE | |
| ERASE_LINE_TO_BEGINING | back to summary |
|---|---|
| protected static final int ERASE_LINE_TO_BEGINING | |
| ERASE_LINE_TO_END | back to summary |
|---|---|
| protected static final int ERASE_LINE_TO_END | |
| ERASE_SCREEN | back to summary |
|---|---|
| protected static final int ERASE_SCREEN | |
| ERASE_SCREEN_TO_BEGINING | back to summary |
|---|---|
| protected static final int ERASE_SCREEN_TO_BEGINING | |
| ERASE_SCREEN_TO_END | back to summary |
|---|---|
| protected static final int ERASE_SCREEN_TO_END | |
| GREEN | back to summary |
|---|---|
| protected static final int GREEN | |
| MAGENTA | back to summary |
|---|---|
| protected static final int MAGENTA | |
| os | back to summary |
|---|---|
| protected final OutputStream os | |
| RED | back to summary |
|---|---|
| protected static final int RED | |
| WHITE | back to summary |
|---|---|
| protected static final int WHITE | |
| YELLOW | back to summary |
|---|---|
| protected static final int YELLOW | |
| AnsiProcessor | back to summary |
|---|---|
| public AnsiProcessor(OutputStream os) | |
| getNextOptionInt | back to summary |
|---|---|
| protected int getNextOptionInt(Iterator<Object> optionsIterator) throws IOException Helper for processEscapeCommand() to iterate over integer options
| |
| optionInt | back to summary |
|---|---|
| private int optionInt(ArrayList<Object> options, int index) | |
| optionInt | back to summary |
|---|---|
| private int optionInt(ArrayList<Object> options, int index, int defaultValue) | |
| processAttributeReset | back to summary |
|---|---|
| protected void processAttributeReset() throws IOException process
| |
| processChangeIconName | back to summary |
|---|---|
| protected void processChangeIconName(String label) process
| |
| processChangeIconNameAndWindowTitle | back to summary |
|---|---|
| protected void processChangeIconNameAndWindowTitle(String label) process
| |
| processChangeWindowTitle | back to summary |
|---|---|
| protected void processChangeWindowTitle(String label) process
| |
| processCharsetSelect | back to summary |
|---|---|
| protected boolean processCharsetSelect(ArrayList<Object> options) Process character set sequence. | |
| processCharsetSelect | back to summary |
|---|---|
| protected void processCharsetSelect(int set, char seq) | |
| processCursorDown | back to summary |
|---|---|
| protected void processCursorDown(int count) throws IOException process
| |
| processCursorDownLine | back to summary |
|---|---|
| protected void processCursorDownLine(int count) throws IOException process
| |
| processCursorLeft | back to summary |
|---|---|
| protected void processCursorLeft(int count) throws IOException process
| |
| processCursorRight | back to summary |
|---|---|
| protected void processCursorRight(int count) throws IOException process
| |
| processCursorTo | back to summary |
|---|---|
| protected void processCursorTo(int row, int col) throws IOException process
| |
| processCursorToColumn | back to summary |
|---|---|
| protected void processCursorToColumn(int x) throws IOException process
| |
| processCursorUp | back to summary |
|---|---|
| protected void processCursorUp(int count) throws IOException process
| |
| processCursorUpLine | back to summary |
|---|---|
| protected void processCursorUpLine(int count) throws IOException process
| |
| processDefaultBackgroundColor | back to summary |
|---|---|
| protected void processDefaultBackgroundColor() throws IOException process
| |
| processDefaultTextColor | back to summary |
|---|---|
| protected void processDefaultTextColor() throws IOException process
| |
| processDeleteLine | back to summary |
|---|---|
| protected void processDeleteLine(int optionInt) throws IOException Process
| |
| processEraseLine | back to summary |
|---|---|
| protected void processEraseLine(int eraseOption) throws IOException Process
| |
| processEraseScreen | back to summary |
|---|---|
| protected void processEraseScreen(int eraseOption) throws IOException Process
| |
| processEscapeCommand | back to summary |
|---|---|
protected boolean processEscapeCommand(ArrayList<Object> options, int command) throws IOException
| |
| processInsertLine | back to summary |
|---|---|
| protected void processInsertLine(int optionInt) throws IOException Process
| |
| processOperatingSystemCommand | back to summary |
|---|---|
protected boolean processOperatingSystemCommand(ArrayList<Object> options)
| |
| processRestoreCursorPosition | back to summary |
|---|---|
| protected void processRestoreCursorPosition() throws IOException Process
| |
| processSaveCursorPosition | back to summary |
|---|---|
| protected void processSaveCursorPosition() throws IOException Process
| |
| processScrollDown | back to summary |
|---|---|
| protected void processScrollDown(int optionInt) throws IOException Process
| |
| processScrollUp | back to summary |
|---|---|
| protected void processScrollUp(int optionInt) throws IOException Process
| |
| processSetAttribute | back to summary |
|---|---|
| protected void processSetAttribute(int attribute) throws IOException process
| |
| processSetBackgroundColor | back to summary |
|---|---|
| protected void processSetBackgroundColor(int color) throws IOException process
| |
| processSetBackgroundColor | back to summary |
|---|---|
| protected void processSetBackgroundColor(int color, boolean bright) throws IOException process
| |
| processSetBackgroundColorExt | back to summary |
|---|---|
| protected void processSetBackgroundColorExt(int paletteIndex) throws IOException process
| |
| processSetBackgroundColorExt | back to summary |
|---|---|
| protected void processSetBackgroundColorExt(int r, int g, int b) throws IOException process
| |
| processSetForegroundColor | back to summary |
|---|---|
| protected void processSetForegroundColor(int color) throws IOException process
| |
| processSetForegroundColor | back to summary |
|---|---|
| protected void processSetForegroundColor(int color, boolean bright) throws IOException process
| |
| processSetForegroundColorExt | back to summary |
|---|---|
| protected void processSetForegroundColorExt(int paletteIndex) throws IOException process
| |
| processSetForegroundColorExt | back to summary |
|---|---|
| protected void processSetForegroundColorExt(int r, int g, int b) throws IOException process
| |
| processUnknownExtension | back to summary |
|---|---|
| protected void processUnknownExtension(ArrayList<Object> options, int command) Process Unknown Extension | |
| processUnknownOperatingSystemCommand | back to summary |
|---|---|
| protected void processUnknownOperatingSystemCommand(int command, String param) Process unknown
| |