com.mindbright.terminal.tandem6530
public class ConvMode extends ModeBase
Constructor and Description |
---|
ConvMode(Terminal6530Callback termCallback,
Parser parser) |
Modifier and Type | Method and Description |
---|---|
void |
doBackspace() |
void |
doCarriageReturn() |
void |
doClearAllTabs() |
void |
doClearMemoryToSpaces() |
void |
doClearTab() |
void |
doClickSelect(int row,
int col,
java.lang.String selectDelims) |
void |
doCursorDown() |
void |
doCursorHome() |
void |
doCursorHomeDown() |
void |
doCursorRight() |
void |
doCursorToLastCharOnRow() |
void |
doCursorToLastCharOnScreen() |
void |
doCursorUp() |
void |
doDefineEnterKeyFunction(char[] str) |
void |
doEraseToEndOfLineOrField() |
void |
doEraseToEndOfPageOrMemory() |
void |
doHTab() |
void |
doLineFeed() |
void |
doPageDown() |
void |
doPageUp() |
void |
doRollDown() |
void |
doRollUp() |
void |
doSetCursorAddress(boolean displayedPage,
int row,
int column)
Set cursor position.
|
void |
doSetDefaultVideoAttribute(int attrib) |
void |
doSetTab() |
void |
doSetVideoAttribute(int attrib) |
void |
doTab() |
int[] |
getAttribs(int visTop,
int row) |
Screen6530Buffer |
getBuffer() |
int |
getBufferRows() |
char[] |
getChars(int visTop,
int row) |
int |
getCol() |
int |
getPage() |
int |
getRow() |
java.lang.String |
getSelection(java.lang.String eol) |
int |
getVisTop() |
void |
hostChar(char c) |
void |
keyHandler(char c,
int virtualKey,
int modifiers) |
void |
resetClickSelect() |
void |
resetSelection() |
SearchContext |
search(SearchContext lastContext,
java.lang.String key,
boolean reverse,
boolean caseSens) |
void |
selectAll() |
void |
setDisplay(DisplayView display) |
void |
setEnterKeyFunction(char[] keys) |
void |
setHalfDuplex(boolean set) |
void |
setLocalTransmitColumn(int col) |
void |
setSelection(int row1,
int col1,
int row2,
int col2) |
void |
switchReset() |
doBackTab, doClearMemoryToSpaces, doDefineDataTypeTable, doDefineFieldAttribute, doDefineVariableTable, doDeleteCharacter, doDeleteLine, doDisableLocalLineEditing, doDisplayPage, doInsertCharacter, doInsertLine, doReadCursorAddress, doReadWholePageOrBuffer, doReadWithAddress, doReadWithAddressAll, doResetModifiedDataTags, doResetVariableTable, doSelectPage, doSetBufferAddress, doSetMaxPageNumber, doStartField, doStartFieldExtended, getDisplayCols, getDisplayRows
public ConvMode(Terminal6530Callback termCallback, Parser parser)
public void setHalfDuplex(boolean set)
public void setLocalTransmitColumn(int col)
public void setEnterKeyFunction(char[] keys)
public void hostChar(char c)
public void setDisplay(DisplayView display)
setDisplay
in interface Mode
setDisplay
in class ModeBase
public int getVisTop()
public void keyHandler(char c, int virtualKey, int modifiers)
keyHandler
in interface Mode
keyHandler
in class ModeBase
public void switchReset()
switchReset
in interface Mode
switchReset
in class ModeBase
public void doBackspace()
doBackspace
in interface Mode
doBackspace
in class ModeBase
public void doHTab()
public void doLineFeed()
doLineFeed
in interface Mode
doLineFeed
in class ModeBase
public void doCarriageReturn()
doCarriageReturn
in interface Mode
doCarriageReturn
in class ModeBase
public void doSetCursorAddress(boolean displayedPage, int row, int column)
ModeBase
doSetCursorAddress
in interface Mode
doSetCursorAddress
in class ModeBase
displayedPage
- true to set cursor position in displayed pagerow
- row number, starting from 1column
- column number, starting from 1public void doSetTab()
public void doClearTab()
doClearTab
in interface Mode
doClearTab
in class ModeBase
public void doClearAllTabs()
doClearAllTabs
in interface Mode
doClearAllTabs
in class ModeBase
public void doSetVideoAttribute(int attrib)
doSetVideoAttribute
in interface Mode
doSetVideoAttribute
in class ModeBase
public void doSetDefaultVideoAttribute(int attrib)
doSetDefaultVideoAttribute
in interface Mode
doSetDefaultVideoAttribute
in class ModeBase
public void doDefineEnterKeyFunction(char[] str)
doDefineEnterKeyFunction
in interface Mode
doDefineEnterKeyFunction
in class ModeBase
public void doCursorToLastCharOnScreen()
public void doCursorToLastCharOnRow()
public void doCursorUp()
doCursorUp
in interface Mode
doCursorUp
in class ModeBase
public void doCursorDown()
public void doCursorRight()
doCursorRight
in interface Mode
doCursorRight
in class ModeBase
public void doCursorHomeDown()
doCursorHomeDown
in interface Mode
doCursorHomeDown
in class ModeBase
public void doCursorHome()
doCursorHome
in interface Mode
doCursorHome
in class ModeBase
public void doRollUp()
public void doRollDown()
doRollDown
in interface Mode
doRollDown
in class ModeBase
public void doPageUp()
public void doPageDown()
doPageDown
in interface Mode
doPageDown
in class ModeBase
public void doClearMemoryToSpaces()
doClearMemoryToSpaces
in interface Mode
doClearMemoryToSpaces
in class ModeBase
public void doEraseToEndOfLineOrField()
doEraseToEndOfLineOrField
in interface Mode
doEraseToEndOfLineOrField
in class ModeBase
public void doEraseToEndOfPageOrMemory()
doEraseToEndOfPageOrMemory
in interface Mode
doEraseToEndOfPageOrMemory
in class ModeBase
public char[] getChars(int visTop, int row)
public int[] getAttribs(int visTop, int row)
getAttribs
in interface Mode
getAttribs
in class ModeBase
public int getBufferRows()
getBufferRows
in interface Mode
getBufferRows
in class ModeBase
public int getRow()
public int getCol()
public int getPage()
public void doClickSelect(int row, int col, java.lang.String selectDelims)
doClickSelect
in interface Mode
doClickSelect
in class ModeBase
public void resetClickSelect()
resetClickSelect
in interface Mode
resetClickSelect
in class ModeBase
public void setSelection(int row1, int col1, int row2, int col2)
setSelection
in interface Mode
setSelection
in class ModeBase
public void selectAll()
public void resetSelection()
resetSelection
in interface Mode
resetSelection
in class ModeBase
public java.lang.String getSelection(java.lang.String eol)
getSelection
in interface Mode
getSelection
in class ModeBase
public SearchContext search(SearchContext lastContext, java.lang.String key, boolean reverse, boolean caseSens)
public Screen6530Buffer getBuffer()