Provides programmatic access to host screens. Supports the following host types: ALC, IBM 3270, IBM 5250, T27, UTS and VT.
The following tables list the members exposed by ScreenUPG.
Public Constructors
Public Properties
Name | Description | |
---|---|---|
![]() |
ALC_ERROR_TRAFFIC_CLASS | Status indicating traffic class not supported returned by |
![]() |
ALC_HOSTACTIVE | Status indicating ALC host connection is active returned by |
![]() |
ALC_HOSTINACTIVE | Status indicating ALC host connection is inactive returned by |
![]() |
ALC_HOSTLOST | Status indicating ALC host connection has broken returned by |
![]() |
ALC_STRUCTURED_DATA | Send this status with |
![]() |
ALC_TERMINAL_DATA | Send this status with |
![]() |
ATM_3270_MODEL_2 | 24x80 3270 model display size. |
![]() |
ATM_3270_MODEL_3 | 32x80 3270 model display size. |
![]() |
ATM_3270_MODEL_4 | 43x80 3270 model display size. |
![]() |
ATM_3270_MODEL_5 | 27x132 3270 model display size. |
![]() |
BgBlack | Black background. |
![]() |
BgBlue | Blue background. |
![]() |
BgCyan | Cyan background. |
![]() |
BgDarkBlue | Dark blue background. |
![]() |
BgDarkCyan | Dark cyan background. |
![]() |
BgDarkGray | Dark gray background. |
![]() |
BgDarkGreen | Dark green background. |
![]() |
BgDarkMagenta | Dark magenta background. |
![]() |
BgDarkRed | Dark red background. |
![]() |
BgDarkYellow | Dark yellow background. |
![]() |
BgGray | Gray background. |
![]() |
BgGreen | Green background. |
![]() |
BgMagenta | Magenta background. |
![]() |
BgRed | Red background. |
![]() |
BgWhite | White background. |
![]() |
BgYellow | Yellow background. |
![]() |
BLINK | Blink attribute. |
![]() |
BOLD | Bold attribute. |
![]() |
BRIGHT | Bright attribute. |
![]() |
DIM | Dim attribute. |
![]() |
DIRECTION_BACKWARD | Search in backward direction in presentation space. |
![]() |
DIRECTION_FORWARD | Search in forward direction in presentation space. |
![]() |
DOUBLEHEIGHT | Double height attribute. |
![]() |
DOUBLEWIDTH | Double width attribute. |
![]() |
FgBlack | Black foreground. |
![]() |
FgBlue | Blue foreground. |
![]() |
FgCyan | Cyan foreground. |
![]() |
FgDarkBlue | Dark blue foreground. |
![]() |
FgDarkCyan | Dark cyan foreground. |
![]() |
FgDarkGray | Dark gray foreground. |
![]() |
FgDarkGreen | Dark green foreground. |
![]() |
FgDarkMagenta | Dark magenta foreground. |
![]() |
FgDarkRed | Dark red foreground. |
![]() |
FgDarkYellow | Dark yellow foreground. |
![]() |
FgGray | Gray foreground. |
![]() |
FgGreen | Green foreground. |
![]() |
FgMagenta | Magenta foreground. |
![]() |
FgRed | Red foreground. |
![]() |
FgWhite | White foreground. |
![]() |
FgYellow | Yellow foreground. |
![]() |
FIELDTYPE_ANY | Find any fields in presentation space. |
![]() |
FIELDTYPE_PROTECTED | Find protected fields in presentation space. |
![]() |
FIELDTYPE_UNPROTECTED | Find unprotected fields in presentation space. |
![]() |
FINDFIELD_CURRENT | Find current field in presentation space. |
![]() |
FINDFIELD_NEXT | Find next field in presentation space. |
![]() |
FINDFIELD_PREVIOUS | Find previous field in presentation space. |
![]() |
HOST_STATUS | Status message indicating INT-1 host status has changed returned by |
![]() |
HOST_STATUS_HOSTACTIVE | Sub-status of |
![]() |
HOST_STATUS_HOSTINACTIVE | Sub-status of |
![]() |
HOST_STATUS_HOSTLOST | Sub-status of |
![]() |
KEYTYPE_BRACES | Use curly braces format when sending keys to presentation space. |
![]() |
KEYTYPE_HLLAPI | Use HLLAPI format when sending keys to presentation space. |
![]() |
LEFTCOLSEP | Column separator attribute. |
![]() |
NORMAL | Normal attribute. |
![]() |
PUTSTRING_SKIP | Skip protected fields encountered. |
![]() |
PUTSTRING_SPAN | Span protected fields encountered. |
![]() |
PUTSTRING_STOP | Stop when protected field encountered. |
![]() |
REVERSE | Reverse attribute. |
![]() |
SCREEN_3270 | 3270 screen type returned by SessionLoader.getTerminalType. |
![]() |
SCREEN_5250 | 5250 screen type returned by SessionLoader.getTerminalType. |
![]() |
SCREEN_ALC | ALC screen type returned by SessionLoader.getTerminalType. |
![]() |
SCREEN_T27 | T27 screen type returned by SessionLoader.getTerminalType. |
![]() |
SCREEN_UNKNOWN | Unknown screen type returned by SessionLoader.getTerminalType. |
![]() |
SCREEN_UTS | UTS screen type returned by SessionLoader.getTerminalType. |
![]() |
SCREEN_VT | VT screen type returned by SessionLoader.getTerminalType. |
![]() |
SCREENATTR_ANY | Include text with any screen attribute. |
![]() |
SCREENATTR_HIDDEN | Include text with hidden screen attribute. |
![]() |
SCREENATTR_PROTECTED | Include text with protected screen screen attribute. |
![]() |
SCREENATTR_UNPROTECTED | Include text unprotected screen attribute. |
![]() |
SCREENATTR_VISIBLE | Include text with visible screen attribute. |
![]() |
SECURE | Secure attribute. |
![]() |
SPECIAL | Special attribute. |
![]() |
STRIKETHROUGH | Strikethrough attribute. |
![]() |
TOP_BOTTOM | Top bottom attribute. |
![]() |
UNDERSCORE | Underscore attribute. |
![]() |
UPPER | Upper case attribute. |
![]() |
UTS_DESELECT | Status message received by |
![]() |
UTS_DEVICESTATUS | Status message sent by |
![]() |
UTS_DEVICESTATUS_BUSY | "Busy" sub-status of |
![]() |
UTS_DEVICESTATUS_ERROR | "Error" sub-status of |
![]() |
UTS_DEVICESTATUS_NOTREADY | "Not ready" sub-status of |
![]() |
UTS_DEVICESTATUS_OFFLINE | "Offline" sub-status of |
![]() |
UTS_DEVICESTATUS_POC | "Power-on Confidence" sub-status of |
![]() |
UTS_DEVICESTATUS_READY | "Ready" sub-status of |
![]() |
UTS_DEVICESTATUS_THRU | "Thru" sub-status of |
![]() |
UTS_MSGWAIT | Status message received by |
![]() |
UTS_SELECT | Status message received by |
![]() |
VSDKVersion | Current version of Verastream SDK for Unisys and Airlines returned by |
![]() |
WRAP_OFF | Don't wrap to top of presentation space when end encountered. |
![]() |
WRAP_ON | Wrap to top of presentation space when end encountered. |
Public Methods
Name | Description | |
---|---|---|
![]() |
addIScreenListenerEx | Enables your application to receive various screen event notifications from the Screen object. |
![]() |
addIStatusListener | Enables your your application to receive status event notifications from the Screen object. |
![]() |
clearCapturedData | Clears information from the captured data buffer. |
![]() |
Close | Closes the current host session. |
![]() |
Equals | Determines whether the specified |
![]() |
fieldCount | Returns the number of fields of the specified type. |
![]() |
findField | Searches the presentation space for the specified field beginning from the row and column position specified. |
![]() |
findFieldEx | Searches the presentation space for the specified field beginning from the index (field number) specified. |
![]() |
findString | Searches the presentation space for the specified text string starting from the specified start position. If found, it returns true and the start position of the string. |
![]() |
findStringEx | Searches the presentation space for the specified text string from the specified start position to the specified end position. If found, it returns true and the start position of the string. |
![]() |
getCapturedBytes | Returns the currently captured data as a byte array. The data capture facility allows you to save all information being sent by the host communications layer to the presentation space for later retrieval as a byte array or a String. Depending on the type of terminal and type of host connection, this data may be in the 8-bit ASCII, 8-bit EBCDIC or 6-bit ALC character set. |
![]() |
getCapturedData | Returns the currently captured data as a string. The data capture facility allows you to save all information being sent by the host communications layer to the presentation space for later retrieval as a byte array or a String. Depending on the type of terminal and type of host connection, this data may be in the 8-bit ASCII, 8-bit EBCDIC or 6-bit ALC character set. |
![]() |
getCapturedJavaBytes | Returns the currently captured data as a signed byte array. The data capture facility allows you to save all information being sent by the host communications layer to the presentation space for later retrieval as a byte array or a String. Depending on the type of terminal and type of host connection, this data may be in the 8-bit ASCII, 8-bit EBCDIC or 6-bit ALC character set. |
![]() |
getColumns | Returns the number of columns in the presentation space. |
![]() |
getCursor | Returns the current cursor position. |
![]() |
getCursorColumn | Returns the column of the current cursor position. |
![]() |
getCursorRow | Returns the row of the current cursor position. |
![]() |
getDataCapture | Returns the current state of the data capture facility. |
![]() |
getDescription | Returns a custom description for the instance of the Screen object if a description was created previously using |
![]() |
getExtPS | Returns the specified portion of the presentation space in a string format. |
![]() |
getgetText_Display | Returns the current setting of the getText_Display property. |
![]() |
GetHashCode | Serves as a hash function for a particular type. |
![]() |
getKeyboardLocked | Returns the current state of the keyboard. |
![]() |
getMaxDataCaptureLength | Returns the current maximum buffer size for data captured using the data capture facility. The data capture facility allows you to save all information being sent to the presentation space by the host for later retrieval as a byte array or a string. |
![]() |
getObjectVersion | Returns the version number of the specified Screen object. |
![]() |
getOIAContents | Returns the data displayed in the OIA portion (status line) of the presentation space. |
![]() |
getOIAText | Returns the text of the OIA portion (status line) of the presentation space in a string format. |
![]() |
getOperatorDisable | Gets the current Operator Disabled status for MATIP sessions. |
![]() |
getPeripheralControl | Gets the current peripheral control state for UTS INT-1 sessions. |
![]() |
getRows | Returns the number of rows in the presentation space. |
![]() |
getScreenType | Returns the current host type. |
![]() |
getString | Returns the visible text from the specified location. |
![]() |
getStringEx | Returns the visible text from the specified location with attributes matching those specified by inAttr. |
![]() |
getText | Returns the text contents of the presentation space as a string. |
![]() |
GetType | Gets the |
![]() |
isConnected | Returns the state of the host/gateway connection. |
![]() |
isKeyboardLocked | Returns the current state of the keyboard. |
![]() |
Open | Opens a host session. |
![]() |
OpenEx | Opens a host session, waiting a specified time for the connection to be established before returning. |
![]() |
putString | Copies a string of text to the specified position in the presentation space and returns the number of characters written. |
![]() |
putStringEx | Copies a string of text to the specified position in the presentation space and returns the number of characters written. |
![]() |
RawDataTransmit | Writes a string of characters directly to the host communications layer, without going through the presentation space. The Unicode characters are converted to bytes with the default encoding for the platform. Depending on the type of terminal and type of host connection, this data may have to be in the 8-bit ASCII, 8-bit EBCDIC or 6-bit ALC character set. |
![]() |
RawDataTransmitBytes | Overloaded. Writes an array of bytes directly to the host communications layer, without going through the presentation space. Depending on the type of terminal and type of host connection, this data may have to be in the 8-bit ASCII, 8-bit EBCDIC or 6-bit ALC character set. |
![]() |
removeIScreenListenerEx | Removes the ScreenListener from the Screen object. The Screen object will no longer receive screen/status event notifications. |
![]() |
removeIStatusListener | Removes the StatusListener from the Screen object. The Screen object will no longer receive status event notifications. |
![]() |
sendKeys | Sends characters and special keys to the session. They are treated the same as if they were typed at the keyboard. Special keystrokes can be specified in HLLAPI format, which has a special code for each keystroke, such as "@E" for the host Transmit key, or Braces format, where the key name is surrounded by braces, such as "{Transmit}". See |
![]() |
SendStatus | Overloaded. Sends a status message with option detail to screen. |
![]() |
setCursor | Sets the cursor position in the presentation space. |
![]() |
setCursorColumn | Sets the column of the cursor position. |
![]() |
setCursorRow | Sets the row of the cursor position. |
![]() |
setDataCapture | Turns the data capture facility on or off. |
![]() |
setDataCaptureEx | Turns the data capture facility on or off. In addition, turns on or off the suppression of updates to the presentation space. |
![]() |
setDescription | Creates a custom description for the instance of the Screen object. |
![]() |
setgetText_Display | Turns the getText_Display property on or off. |
![]() |
setMaxDataCaptureLength | Sets the maximum buffer size for data captured using the data capture facility. The data capture facility allows you to save all information being sent to the presentation space by the host for later retrieval as a byte array or a string. |
![]() |
setOperatorDisable | Attempts to set Operator Disabled status for MATIP sessions. |
![]() |
setPeripheralControl | Sets the Peripheral Control State for UTS INT-1 sessions. This advanced feature is for applications that want control over print activity. |
![]() |
ToString | Returns a |
![]() |
waitForCursor | Waits for the cursor to appear at the specified position for a specified period of time. |
![]() |
waitForString | Waits for the specified text to appear at the specified position for a specified period of time. |
![]() |
waitHostQuiet | Waits for the host session to be idle for a specified period of time (in milliseconds). A session is considered to be "quiet" when there has been no activity in the host session for the specified amount of time. This is a synchronous call and does not return until the wait condition is satisfied. Otherwise, it times out after wtTime (specified in milliseconds). |
Protected Methods
Name | Description | |
---|---|---|
![]() |
Finalize | Allows an |
![]() |
MemberwiseClone | Creates a shallow copy of the current |
Public Events
Name | Description | |
---|---|---|
![]() |
onConnectionLost | Occurs when the connection to host is lost. |
![]() |
onError | Occurs when an error is detected. |
![]() |
onLostRemoteWindow | Occurs when the connection to the RemoteWindow is unexpectedly broken. |
![]() |
onScreenChanged | Occurs when host data causes the screen to change. |
![]() |
onScreenShapeChanged | Occurs when the screen shape (number of rows and/or columns) changes. |
![]() |
onStatusReceived | Occurs when a status message is generated by the screen object. |