com.mindbright.terminal.tandem6530
public class ProtectedScreen extends java.lang.Object implements AsciiCodes
Modifier and Type | Field and Description |
---|---|
protected Position |
buffer |
protected int |
COLS |
protected Position |
cursor |
protected FieldAttributes |
defaultField |
protected Position |
END |
protected Position |
HOME |
protected FieldMap |
map |
protected ProtectBlockMode |
parent |
protected int |
ROWS |
Constructor and Description |
---|
ProtectedScreen(int rows,
int cols,
DataType dataTypeTable) |
ProtectedScreen(ProtectBlockMode parent,
int rows,
int cols,
DataType dataTypeTable) |
Modifier and Type | Method and Description |
---|---|
void |
addField(FieldAttributes attribs) |
void |
addField(Position p,
FieldAttributes attribs) |
protected void |
back() |
protected void |
back(Position p) |
protected void |
back(Position p,
boolean recursive) |
void |
bufferWrite(char c) |
void |
cursorToLastCharInField() |
void |
cursorToNextUnprotected(int numLines) |
boolean |
cursorWrite(char c) |
boolean |
cursorWrite(char c,
boolean insertMode) |
void |
doBackspace() |
void |
doBackTab() |
void |
doCarriageReturn() |
void |
doClearMemoryToSpaces(int startRow,
int startCol,
int endRow,
int endColumn) |
void |
doCursorDown() |
void |
doCursorHome() |
void |
doCursorHomeDown() |
void |
doCursorRight() |
void |
doCursorUp() |
void |
doDeleteCharacter(boolean atCursor) |
void |
doDeleteLine() |
void |
doEraseToEndOfLineOrField(boolean atCursor) |
void |
doEraseToEndOfPageOrMemory(boolean atCursor) |
void |
doHTab() |
void |
doInsertCharacter(boolean atCursor) |
void |
doInsertLine() |
void |
doLineFeed() |
void |
doResetModifiedDataTags() |
void |
doSetVideoAttribute(int attrib) |
protected void |
forward() |
protected void |
forward(Position p) |
int[] |
getAttribs(int row) |
Position |
getBufferAddress() |
char[] |
getChars(int row) |
Position |
getCursorAddress() |
protected Field |
getNextField(Position p) |
protected Field |
getNextUnprotected(Position p)
Get the next unprotected field at position p or later
|
java.lang.String |
readWholePageOrBuffer() |
java.lang.String |
readWithAddress(Position start,
Position end) |
protected java.lang.String |
readWithAddress(Position start,
Position end,
boolean onlyUnprotected,
boolean ignoreMdt) |
java.lang.String |
readWithAddressAll(Position start,
Position end) |
void |
reset() |
void |
setAttribute(int attr) |
void |
setBufferAddress(int row,
int col) |
void |
setCursorAddress(int row,
int col) |
void |
updateCursorPosition() |
protected void |
updateDirty(Position start,
Position end) |
protected ProtectBlockMode parent
protected FieldMap map
protected int ROWS
protected int COLS
protected Position cursor
protected Position buffer
protected Position HOME
protected Position END
protected FieldAttributes defaultField
public ProtectedScreen(int rows, int cols, DataType dataTypeTable)
public ProtectedScreen(ProtectBlockMode parent, int rows, int cols, DataType dataTypeTable)
public void reset()
public void doBackspace()
public void doHTab()
public void doLineFeed()
public void doCarriageReturn()
public void doBackTab()
public void doCursorUp()
public void doCursorDown()
public void doCursorRight()
public void doCursorHomeDown()
public void doCursorHome()
public void doSetVideoAttribute(int attrib)
public void cursorToLastCharInField()
public void cursorToNextUnprotected(int numLines)
public void setCursorAddress(int row, int col)
public Position getCursorAddress()
public void setBufferAddress(int row, int col)
public Position getBufferAddress()
public void addField(FieldAttributes attribs)
public void addField(Position p, FieldAttributes attribs)
public void doClearMemoryToSpaces(int startRow, int startCol, int endRow, int endColumn)
public void doEraseToEndOfPageOrMemory(boolean atCursor)
public void doEraseToEndOfLineOrField(boolean atCursor)
public void doInsertLine()
public void doDeleteLine()
public void doInsertCharacter(boolean atCursor)
public void doDeleteCharacter(boolean atCursor)
public void doResetModifiedDataTags()
public void bufferWrite(char c)
public void setAttribute(int attr)
public boolean cursorWrite(char c)
public boolean cursorWrite(char c, boolean insertMode)
protected java.lang.String readWithAddress(Position start, Position end, boolean onlyUnprotected, boolean ignoreMdt)
public java.lang.String readWholePageOrBuffer()
public char[] getChars(int row)
public int[] getAttribs(int row)
protected void back()
protected void back(Position p)
protected void back(Position p, boolean recursive)
protected void forward()
protected void forward(Position p)
public void updateCursorPosition()