com.mindbright.terminal.tandem6530
public class VideoAttributeMap extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
VideoAttributeMap.Attrib |
Modifier and Type | Field and Description |
---|---|
protected VideoAttributeMap.Attrib[] |
attribs |
protected int |
COLS |
protected int |
defaultAttrib |
protected DisplayView |
display |
protected int |
numAttribs |
protected int |
TOTAL_ROWS |
Constructor and Description |
---|
VideoAttributeMap(int totalRows,
int cols,
int defaultAttrib) |
Modifier and Type | Method and Description |
---|---|
void |
add(int row,
int col,
int attrib) |
int |
attribAt(int row,
int col) |
void |
clear(int row,
int startCol,
int endCol) |
void |
clearLine(int row) |
protected void |
delete(int index) |
void |
delete(int row,
int col) |
void |
deleteChars(int row,
int col,
int n) |
void |
deleteLine(int row) |
protected int |
find(int row,
int col) |
protected int |
getAttrib(int row,
int col) |
int[] |
getAttribsAt(int visTop,
int row) |
void |
insertChars(int row,
int col,
int n) |
void |
insertLine(int row) |
boolean |
isAttrib(int row,
int col) |
protected void |
makeDirty(int top,
int left,
int bottom,
int right) |
protected int |
nextAttrib(int idx,
int row) |
void |
resize(int totalRows,
int cols) |
void |
setDefault(int newDefault) |
void |
setDisplay(DisplayView display) |
java.lang.String |
toString() |
protected int COLS
protected int TOTAL_ROWS
protected int defaultAttrib
protected int numAttribs
protected VideoAttributeMap.Attrib[] attribs
protected DisplayView display
public VideoAttributeMap(int totalRows, int cols, int defaultAttrib)
public void setDisplay(DisplayView display)
public boolean isAttrib(int row, int col)
public int attribAt(int row, int col)
public void add(int row, int col, int attrib)
public void delete(int row, int col)
protected void delete(int index)
public void setDefault(int newDefault)
public void insertChars(int row, int col, int n)
public void deleteChars(int row, int col, int n)
public void clear(int row, int startCol, int endCol)
public void clearLine(int row)
public void insertLine(int row)
public void deleteLine(int row)
public void resize(int totalRows, int cols)
public int[] getAttribsAt(int visTop, int row)
protected int nextAttrib(int idx, int row)
public java.lang.String toString()
toString
in class java.lang.Object
protected int getAttrib(int row, int col)
protected int find(int row, int col)
protected void makeDirty(int top, int left, int bottom, int right)