public abstract class VT100RendererImpl extends VT100AbstractRenderer<Cell>
| Constructor and Description |
|---|
VT100RendererImpl(Cell[][] data,
int rows,
int cols)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
int |
attributeMask(int id)
Get attribute mask.
|
protected Cell |
emptyCell()
Create an empty cell.
|
protected Cell |
makeCell(char text,
int attribute,
int color)
Build a video memory cell.
|
beep, eraseInDisplay, eraseInLine, getColumns, getCursorCol, getCursorRow, index, moveCursorPos, nextLine, reverseIndex, setAutoWrap, setCellText, setCursorCol, setCursorPos, setCursorVisible, setScrollRegion, updateScreenpublic VT100RendererImpl(Cell[][] data, int rows, int cols)
data - Video buffer.rows - Number of rows on the screen.cols - Number of columns on the screen.public int attributeMask(int id)
attributeMask in interface VT100RendererattributeMask in class VT100AbstractRenderer<Cell>id - Attribute id.
0 - NORMAL 1 - BLINK 2 - BOLD 3 - UNDERLINE 4 - REVERSE
protected Cell emptyCell()
emptyCell in class VT100AbstractRenderer<Cell>protected Cell makeCell(char text, int attribute, int color)
makeCell in class VT100AbstractRenderer<Cell>text - Cell character.attribute - Color attributescolor - Color pair FG/BG