com.mindbright.terminal.tandem6530
public class Terminal6530 extends java.lang.Object implements Terminal, DisplayModel, Terminal6530Callback, ActionHandler, AsciiCodes
GRAVITY_NORTHWEST, GRAVITY_SOUTHWEST
ATTR_BGCOLOR, ATTR_BLINKING, ATTR_BOLD, ATTR_CHARDRAWN, ATTR_CHARNOTDRAWN, ATTR_DWIDTH_L, ATTR_DWIDTH_R, ATTR_FGCOLOR, ATTR_INVERSE, ATTR_INVISIBLE, ATTR_LINEDRAW, ATTR_LOWINTENSITY, ATTR_SELECTED, ATTR_UNDERLINE, MASK_ATTR, MASK_BGCOL, MASK_FGCOL, SHIFT_BGCOL, SHIFT_FGCOL
Constructor and Description |
---|
Terminal6530() |
Modifier and Type | Method and Description |
---|---|
void |
clearLine() |
void |
clearSaveLines() |
void |
clearScreen() |
void |
close() |
void |
doBackspace() |
void |
doBackTab() |
void |
doBell() |
void |
doCarriageReturn() |
void |
doClearAllTabs() |
void |
doClearMemoryToSpaces() |
void |
doClearMemoryToSpaces(int startRow,
int startCol,
int endRow,
int endColumn) |
void |
doClearTab() |
void |
doClickSelect(int visTop,
int row,
int col,
java.lang.String selectDelims) |
void |
doCursorHome() |
void |
doCursorHomeDown() |
void |
doCursorRight() |
void |
doCursorUp() |
void |
doDataCompression(int n,
char c) |
void |
doDefineDataTypeTable(int startIndex,
byte[] entries) |
void |
doDefineEnterKeyFunction(char[] str) |
void |
doDefineFieldAttribute(int row,
int column,
boolean useFixed,
int tableRow) |
void |
doDefineVariableTable(int startIndex,
FieldAttributes[] attribs) |
void |
doDelayOneSecond() |
void |
doDeleteCharacter() |
void |
doDeleteLine() |
void |
doDisableLocalLineEditing() |
void |
doDisconnectModem() |
void |
doDisplayPage(int n) |
void |
doEnterProtectedSubmode() |
void |
doEraseToEndOfLineOrField() |
void |
doEraseToEndOfPageOrMemory() |
void |
doExitProtectedSubmode() |
void |
doGetCurrentDirectoryAndRedirectionInformation(char drive) |
void |
doGetMachineName() |
void |
doHTab() |
void |
doInsertCharacter() |
void |
doInsertLine() |
void |
doLineFeed() |
void |
doLoadAndExecuteAnOperatingSystemProgram(java.lang.String execString) |
void |
doLockKeyboard() |
void |
doPageDown() |
void |
doPageUp() |
void |
doPrintScreenOrPage() |
void |
doRead6530ColorMappingTable() |
void |
doReadAllLocations() |
void |
doReadColorConfiguration() |
void |
doReadColorMappingTable() |
void |
doReadCursorAddress() |
void |
doReadFullRevisionLevel() |
void |
doReadIODeviceConfiguration(int device) |
void |
doReadKeyboardLatch() |
void |
doReadScreenWithAllAttributes(int startRow,
int startCol,
int endRow,
int endColumn) |
void |
doReadStringConfigurationParameter(int n) |
void |
doReadTerminalConfiguration() |
void |
doReadTerminalStatus() |
void |
doReadVTLAUNCHConfigurationParameter(int param) |
void |
doReadWholePageOrBuffer() |
void |
doReadWithAddress(int startRow,
int startCol,
int endRow,
int endColumn) |
void |
doReadWithAddressAll(int startRow,
int startCol,
int endRow,
int endColumn) |
void |
doReinitialize() |
void |
doReportExecReturnCode() |
void |
doResetColorConfiguration() |
void |
doResetColorMapTable() |
void |
doResetModifiedDataTags() |
void |
doResetVariableTable() |
void |
doRollDown() |
void |
doRollUp() |
void |
doRTMControl(int startStopEvent,
int[] buckets) |
void |
doRTMDataUpload(int[] id) |
void |
doSelectPage(int n) |
void |
doSet40CharactersScreenWidth() |
void |
doSet40CharLineWidth() |
void |
doSet6530ColorMapping(boolean setEnhanced) |
void |
doSet80CharLineWidth() |
void |
doSetBlockMode() |
void |
doSetBufferAddress(int row,
int column) |
void |
doSetColorConfiguration(int startIndex,
byte[] entries) |
void |
doSetColorMapTable(int startIndex,
byte[] entries) |
void |
doSetConversationalMode() |
void |
doSetCursorAddress(int row,
int column) |
void |
doSetEM3270Mode(int mode) |
void |
doSetIODeviceConfiguration(int device,
ConfigParameter[] parms) |
void |
doSetMaxPageNumber(int n) |
void |
doSetStringConfigurationParameter(java.lang.String[] strs) |
void |
doSetTab() |
void |
doSetTerminalConfiguration(ConfigParameter[] params) |
void |
doSetVideoAttributes(char videoAttrib) |
void |
doSetVideoPriorConditionRegister(char videoAttrib) |
void |
doSimulateFunctionKey(char keyCode) |
void |
doStartEnhancedColorField(IBM3270FieldAttributes attribs) |
void |
doStartField(FieldAttributes attribs) |
void |
doStartFieldExtended(FieldAttributes attribs) |
void |
doTerminateRemote6530Operation(int exitCode) |
void |
doUnlockKeyboard() |
void |
doWriteOrReadToFileOrDeviceName(java.lang.String device,
int opCode,
byte[] data) |
void |
doWriteToAux1OrAux2Device(int device,
char terminator) |
void |
doWriteToFileOrDeviceName(java.lang.String device,
int opCode,
byte[] data) |
void |
doWriteToMessageField(char[] msg,
char[] attribs) |
void |
error(java.lang.String msg) |
void |
fromHost(char c) |
int[] |
getAttribs(int visTop,
int row) |
int |
getBufferRows() |
char[] |
getChars(int visTop,
int row) |
int |
getCols() |
java.lang.String |
getDefaultProperty(java.lang.String key) |
int |
getDisplayCols() |
int |
getDisplayRows() |
TerminalOption[] |
getOptions() |
java.util.Properties |
getProperties() |
java.lang.String |
getProperty(java.lang.String key) |
boolean |
getPropsChanged() |
int |
getRows() |
java.lang.String |
getSelection(java.lang.String eol) |
static Terminal |
getTerminal(java.lang.String name) |
static TerminalOption[] |
getTerminalOptions() |
static java.lang.String[] |
getTerminalTypes() |
void |
keyHandler(char c,
int virtualKey,
int modifiers) |
void |
mouseHandler(int visTop,
int x,
int y,
boolean press,
int modifiers) |
void |
paste(java.lang.String selection) |
void |
reset() |
void |
resetClickSelect() |
void |
resetSelection() |
void |
ringBell() |
SearchContext |
search(SearchContext lastContext,
java.lang.String key,
boolean reverse,
boolean caseSens) |
void |
selectAll() |
void |
send(char c) |
void |
send(java.lang.String str) |
void |
sendDirect(java.lang.String str) |
void |
setAttributeBold(boolean set) |
void |
setCursorPos(int row,
int col) |
void |
setDisplay(DisplayView display) |
void |
setDumbMode(boolean dumb) |
void |
setInputCharset(java.lang.String charset) |
void |
setProperties(java.util.Properties newProps) |
boolean |
setProperty(java.lang.String key,
java.lang.String value) |
boolean |
setProperty(java.lang.String key,
java.lang.String value,
boolean forceSet) |
void |
setPropsChanged(boolean value) |
boolean |
setSaveLines(int lines) |
void |
setSelection(int row1,
int col1,
int row2,
int col2) |
void |
setSelection(int visTop,
int row1,
int col1,
int row2,
int col2) |
boolean |
setSize(int rows,
int cols) |
boolean |
setTerminalType(java.lang.String type) |
void |
setTerminalWindow(TerminalWindow termWin) |
void |
setUpdate(boolean enabled) |
void |
statusLineUpdated() |
java.lang.String |
terminalType() |
public static Terminal getTerminal(java.lang.String name)
public static java.lang.String[] getTerminalTypes()
public boolean setTerminalType(java.lang.String type)
setTerminalType
in interface Terminal
public void setDumbMode(boolean dumb)
setDumbMode
in interface Terminal
public void doBell()
doBell
in interface ActionHandler
public void doBackspace()
doBackspace
in interface ActionHandler
public void doHTab()
doHTab
in interface ActionHandler
public void doLineFeed()
doLineFeed
in interface ActionHandler
public void doCarriageReturn()
doCarriageReturn
in interface ActionHandler
public void doSetConversationalMode()
doSetConversationalMode
in interface ActionHandler
public void doSetBlockMode()
doSetBlockMode
in interface ActionHandler
public void doSetBufferAddress(int row, int column)
doSetBufferAddress
in interface ActionHandler
public void doDataCompression(int n, char c)
doDataCompression
in interface ActionHandler
public void doSetCursorAddress(int row, int column)
doSetCursorAddress
in interface ActionHandler
public void doDefineFieldAttribute(int row, int column, boolean useFixed, int tableRow)
doDefineFieldAttribute
in interface ActionHandler
public void doStartField(FieldAttributes attribs)
doStartField
in interface ActionHandler
public void doPrintScreenOrPage()
doPrintScreenOrPage
in interface ActionHandler
public void doSetTab()
doSetTab
in interface ActionHandler
public void doClearTab()
doClearTab
in interface ActionHandler
public void doClearAllTabs()
doClearAllTabs
in interface ActionHandler
public void doSetVideoAttributes(char videoAttrib)
doSetVideoAttributes
in interface ActionHandler
public void doSetVideoPriorConditionRegister(char videoAttrib)
doSetVideoPriorConditionRegister
in interface ActionHandler
public void doSet40CharLineWidth()
doSet40CharLineWidth
in interface ActionHandler
public void doSet80CharLineWidth()
doSet80CharLineWidth
in interface ActionHandler
public void doReadCursorAddress()
doReadCursorAddress
in interface ActionHandler
public void doUnlockKeyboard()
doUnlockKeyboard
in interface ActionHandler
public void doLockKeyboard()
doLockKeyboard
in interface ActionHandler
public void doSetStringConfigurationParameter(java.lang.String[] strs)
doSetStringConfigurationParameter
in interface ActionHandler
public void doReadStringConfigurationParameter(int n)
doReadStringConfigurationParameter
in interface ActionHandler
public void doSimulateFunctionKey(char keyCode)
doSimulateFunctionKey
in interface ActionHandler
public void doGetMachineName()
doGetMachineName
in interface ActionHandler
public void doDisconnectModem()
doDisconnectModem
in interface ActionHandler
public void doGetCurrentDirectoryAndRedirectionInformation(char drive)
doGetCurrentDirectoryAndRedirectionInformation
in interface ActionHandler
public void doReadVTLAUNCHConfigurationParameter(int param)
doReadVTLAUNCHConfigurationParameter
in interface ActionHandler
public void doBackTab()
doBackTab
in interface ActionHandler
public void doRTMControl(int startStopEvent, int[] buckets)
doRTMControl
in interface ActionHandler
public void doRTMDataUpload(int[] id)
doRTMDataUpload
in interface ActionHandler
public void doSetEM3270Mode(int mode)
doSetEM3270Mode
in interface ActionHandler
public void doReadAllLocations()
doReadAllLocations
in interface ActionHandler
public void doReadKeyboardLatch()
doReadKeyboardLatch
in interface ActionHandler
public void doWriteToMessageField(char[] msg, char[] attribs)
doWriteToMessageField
in interface ActionHandler
public void doSetMaxPageNumber(int n)
doSetMaxPageNumber
in interface ActionHandler
public void doReinitialize()
doReinitialize
in interface ActionHandler
public void doSetColorMapTable(int startIndex, byte[] entries)
doSetColorMapTable
in interface ActionHandler
public void doResetColorMapTable()
doResetColorMapTable
in interface ActionHandler
public void doReadColorMappingTable()
doReadColorMappingTable
in interface ActionHandler
public void doDefineDataTypeTable(int startIndex, byte[] entries)
doDefineDataTypeTable
in interface ActionHandler
public void doResetVariableTable()
doResetVariableTable
in interface ActionHandler
public void doDefineVariableTable(int startIndex, FieldAttributes[] attribs)
doDefineVariableTable
in interface ActionHandler
public void doSet40CharactersScreenWidth()
doSet40CharactersScreenWidth
in interface ActionHandler
public void doSetColorConfiguration(int startIndex, byte[] entries)
doSetColorConfiguration
in interface ActionHandler
public void doResetColorConfiguration()
doResetColorConfiguration
in interface ActionHandler
public void doReadColorConfiguration()
doReadColorConfiguration
in interface ActionHandler
public void doDefineEnterKeyFunction(char[] str)
doDefineEnterKeyFunction
in interface ActionHandler
public void doSetTerminalConfiguration(ConfigParameter[] params)
doSetTerminalConfiguration
in interface ActionHandler
public void doRead6530ColorMappingTable()
doRead6530ColorMappingTable
in interface ActionHandler
public void doSetIODeviceConfiguration(int device, ConfigParameter[] parms)
doSetIODeviceConfiguration
in interface ActionHandler
public void doSet6530ColorMapping(boolean setEnhanced)
doSet6530ColorMapping
in interface ActionHandler
public void doReadIODeviceConfiguration(int device)
doReadIODeviceConfiguration
in interface ActionHandler
public void doTerminateRemote6530Operation(int exitCode)
doTerminateRemote6530Operation
in interface ActionHandler
public void doCursorUp()
doCursorUp
in interface ActionHandler
public void doCursorRight()
doCursorRight
in interface ActionHandler
public void doCursorHomeDown()
doCursorHomeDown
in interface ActionHandler
public void doCursorHome()
doCursorHome
in interface ActionHandler
public void doRollUp()
doRollUp
in interface ActionHandler
public void doRollDown()
doRollDown
in interface ActionHandler
public void doPageUp()
doPageUp
in interface ActionHandler
public void doPageDown()
doPageDown
in interface ActionHandler
public void doClearMemoryToSpaces()
doClearMemoryToSpaces
in interface ActionHandler
public void doClearMemoryToSpaces(int startRow, int startCol, int endRow, int endColumn)
doClearMemoryToSpaces
in interface ActionHandler
public void doEraseToEndOfPageOrMemory()
doEraseToEndOfPageOrMemory
in interface ActionHandler
public void doReadWithAddress(int startRow, int startCol, int endRow, int endColumn)
doReadWithAddress
in interface ActionHandler
public void doEraseToEndOfLineOrField()
doEraseToEndOfLineOrField
in interface ActionHandler
public void doReadWithAddressAll(int startRow, int startCol, int endRow, int endColumn)
doReadWithAddressAll
in interface ActionHandler
public void doInsertLine()
doInsertLine
in interface ActionHandler
public void doDeleteLine()
doDeleteLine
in interface ActionHandler
public void doDisableLocalLineEditing()
doDisableLocalLineEditing
in interface ActionHandler
public void doInsertCharacter()
doInsertCharacter
in interface ActionHandler
public void doWriteToAux1OrAux2Device(int device, char terminator)
doWriteToAux1OrAux2Device
in interface ActionHandler
public void doDeleteCharacter()
doDeleteCharacter
in interface ActionHandler
public void doReadScreenWithAllAttributes(int startRow, int startCol, int endRow, int endColumn)
doReadScreenWithAllAttributes
in interface ActionHandler
public void doLoadAndExecuteAnOperatingSystemProgram(java.lang.String execString)
doLoadAndExecuteAnOperatingSystemProgram
in interface ActionHandler
public void doEnterProtectedSubmode()
doEnterProtectedSubmode
in interface ActionHandler
public void doExitProtectedSubmode()
doExitProtectedSubmode
in interface ActionHandler
public void doReportExecReturnCode()
doReportExecReturnCode
in interface ActionHandler
public void doReadTerminalConfiguration()
doReadTerminalConfiguration
in interface ActionHandler
public void doReadTerminalStatus()
doReadTerminalStatus
in interface ActionHandler
public void doReadFullRevisionLevel()
doReadFullRevisionLevel
in interface ActionHandler
public void doDelayOneSecond()
doDelayOneSecond
in interface ActionHandler
public void doResetModifiedDataTags()
doResetModifiedDataTags
in interface ActionHandler
public void doReadWholePageOrBuffer()
doReadWholePageOrBuffer
in interface ActionHandler
public void doDisplayPage(int n)
doDisplayPage
in interface ActionHandler
public void doSelectPage(int n)
doSelectPage
in interface ActionHandler
public void doStartEnhancedColorField(IBM3270FieldAttributes attribs)
doStartEnhancedColorField
in interface ActionHandler
public void doStartFieldExtended(FieldAttributes attribs)
doStartFieldExtended
in interface ActionHandler
public void doWriteToFileOrDeviceName(java.lang.String device, int opCode, byte[] data)
doWriteToFileOrDeviceName
in interface ActionHandler
public void doWriteOrReadToFileOrDeviceName(java.lang.String device, int opCode, byte[] data)
doWriteOrReadToFileOrDeviceName
in interface ActionHandler
public java.lang.String terminalType()
terminalType
in interface Terminal
public void keyHandler(char c, int virtualKey, int modifiers)
keyHandler
in interface Terminal
public void mouseHandler(int visTop, int x, int y, boolean press, int modifiers)
mouseHandler
in interface Terminal
public void setTerminalWindow(TerminalWindow termWin)
setTerminalWindow
in interface Terminal
public void setDisplay(DisplayView display)
setDisplay
in interface Terminal
public static TerminalOption[] getTerminalOptions()
public void setProperties(java.util.Properties newProps)
setProperties
in interface Terminal
public boolean setProperty(java.lang.String key, java.lang.String value)
public boolean setProperty(java.lang.String key, java.lang.String value, boolean forceSet)
setProperty
in interface Terminal
public java.util.Properties getProperties()
getProperties
in interface Terminal
public java.lang.String getProperty(java.lang.String key)
getProperty
in interface Terminal
public boolean getPropsChanged()
getPropsChanged
in interface Terminal
public void setPropsChanged(boolean value)
setPropsChanged
in interface Terminal
public java.lang.String getDefaultProperty(java.lang.String key)
getDefaultProperty
in interface Terminal
public TerminalOption[] getOptions()
getOptions
in interface Terminal
public SearchContext search(SearchContext lastContext, java.lang.String key, boolean reverse, boolean caseSens)
public void setAttributeBold(boolean set)
setAttributeBold
in interface Terminal
public void clearScreen()
clearScreen
in interface Terminal
public void setCursorPos(int row, int col)
setCursorPos
in interface Terminal
public boolean setSaveLines(int lines)
setSaveLines
in interface Terminal
public void clearSaveLines()
clearSaveLines
in interface Terminal
public void doClickSelect(int visTop, int row, int col, java.lang.String selectDelims)
doClickSelect
in interface Terminal
public java.lang.String getSelection(java.lang.String eol)
getSelection
in interface Terminal
public void setSelection(int visTop, int row1, int col1, int row2, int col2)
setSelection
in interface Terminal
public void setSelection(int row1, int col1, int row2, int col2)
setSelection
in interface Terminal
public void resetSelection()
resetSelection
in interface Terminal
public void resetClickSelect()
resetClickSelect
in interface Terminal
public void setInputCharset(java.lang.String charset)
setInputCharset
in interface Terminal
public char[] getChars(int visTop, int row)
getChars
in interface DisplayModel
public int[] getAttribs(int visTop, int row)
getAttribs
in interface DisplayModel
public int getDisplayRows()
getDisplayRows
in interface DisplayModel
public int getDisplayCols()
getDisplayCols
in interface DisplayModel
public int getBufferRows()
getBufferRows
in interface DisplayModel
public void send(char c)
send
in interface Terminal6530Callback
public void send(java.lang.String str)
send
in interface Terminal6530Callback
public void sendDirect(java.lang.String str)
public void error(java.lang.String msg)
error
in interface Terminal6530Callback
public void statusLineUpdated()
statusLineUpdated
in interface Terminal6530Callback