|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.eNetwork.ECL.screenreco.ECLScreenDescriptor | +--com.ibm.eNetwork.ECL.screenreco.ECLSDBlock
This class is the descriptor class used to describe a block of strings on a host screen. When the descriptor is instantiated, it may be added to an object of the ECLScreenDesc class. The ECLScreenDesc class may then be used in either the ECLScreenReco class or the ECLPS WaitForScreen methods to reliably wait for the screen described by ECLScreenDesc to appear in the Presentation Space.
The block descriptor may specify a block of strings at either an absolute position or inside a rectangle by using the SetBlockType method. Also, the block descriptor can be set as either case sensitive or not using the SetCaseSense method.
Once you have created the descriptor, you may add it to an ECLScreenDesc object by calling ECLScreenDesc.AddDescriptor.
Note that some of the methods below are intended specifically for macro programming, as indicated.
ECLScreenReco
,
ECLScreenDesc
,
ECLScreenDescriptor
,
ECLSDAttrib
,
ECLSDCursor
,
ECLSDCustom
,
ECLSDFields
,
ECLSDInputFields
,
ECLSDOIA
,
ECLSDString
,
ECLSDVarUpdate
,
ECLPS
,
ECLField
, Serialized FormField Summary | |
---|---|
static int |
BLOCK_ABSOLUTE
Value used to specify that the block descriptor describes a block of strings at an absolute position. |
static int |
BLOCK_INRECT
Value used to specify that the block descriptor describes a block of strings that is in a rectangular area. |
Fields inherited from interface com.ibm.eNetwork.HOD.common.HODConstants |
---|
DEFAULT_WIN_FONT, HOD_ICON_EVENT, HOD_MSG_FILE, HOD_RAS_COMPID_ADVMACRO, HOD_RAS_COMPID_ASSOC_PRT, HOD_RAS_COMPID_BLINKREMAP, HOD_RAS_COMPID_CODEPAGE, HOD_RAS_COMPID_COLORREMAP, HOD_RAS_COMPID_CONFIG, HOD_RAS_COMPID_FILETRANSFER, HOD_RAS_COMPID_FTP_SCREEN, HOD_RAS_COMPID_FTP_SESSION, HOD_RAS_COMPID_FTP_TERMINAL, HOD_RAS_COMPID_FUDOMA, HOD_RAS_COMPID_HOD_API, HOD_RAS_COMPID_IMPEXP, HOD_RAS_COMPID_JNILOAD, HOD_RAS_COMPID_KEYPAD, HOD_RAS_COMPID_KEYREMAP, HOD_RAS_COMPID_MACRO, HOD_RAS_COMPID_MACROMANGR, HOD_RAS_COMPID_PRT_TERMINAL, HOD_RAS_COMPID_SCREEN, HOD_RAS_COMPID_SESSION, HOD_RAS_COMPID_SESSION_MGR, HOD_RAS_COMPID_SLP, HOD_RAS_COMPID_TERMINAL, HOD_RAS_COMPID_ZIPPRINT, HOD_RAS_FUNC_NAME, HOD_START_UP, HOD_TRANSFER_FILE_INFO, MOUSE_DOUBLE_CLICK_THRESHOLD, XFER_ASCII_GET_OPTIONS, XFER_ASCII_GET_OPTIONS_DEFAULT, XFER_ASCII_PUT_OPTIONS, XFER_ASCII_PUT_OPTIONS_DEFAULT, XFER_BINARY_GET_OPTIONS, XFER_BINARY_GET_OPTIONS_DEFAULT, XFER_BINARY_PUT_OPTIONS, XFER_BINARY_PUT_OPTIONS_DEFAULT, XFER_DEFAULT_OPTIONS, XFER_FILETYPE_DTA, XFER_FILETYPE_SAVF, XFER_FILETYPE_SRC, XFER_HOST_TYPE, XFER_HOST_TYPE_CICS, XFER_HOST_TYPE_CMS, XFER_HOST_TYPE_DEFAULT, XFER_HOST_TYPE_OS400, XFER_HOST_TYPE_TSO, XFER_PACKET_SIZE, XFER_PACKET_SIZE_DEFAULT, XFER_TIME_OUT_VALUE, XFER_TIME_OUT_VALUE_DEFAULT, XFER_TRANSFER_MODE, XFER_TRANSFER_MODE_ASCII, XFER_TRANSFER_MODE_BINARY, XFER_TRANSFER_MODE_DEFAULT |
Constructor Summary | |
---|---|
ECLSDBlock()
Default constructor for a block descriptor. |
|
ECLSDBlock(int row,
int col,
boolean caseSense,
boolean opt)
Constructs a BLOCK_ABSOLUTE string descriptor with the given parameters. |
|
ECLSDBlock(int srow,
int scol,
int erow,
int ecol,
boolean caseSense,
boolean opt)
Constructs a BLOCK_INRECT string descriptor with the given parameters. |
Method Summary | |
---|---|
java.util.Vector |
Create(java.util.Hashtable argTable)
Creates a working instance of the descriptor from the string values contained in the hash table. |
java.lang.String |
Format(int argType,
boolean displayAll)
Formats the action object's contents into a readable string. |
int |
GetBlockType()
Returns the block matching type for the block descriptor. |
int |
GetECol()
Returns the ending column for the block descriptor. |
java.lang.String |
GetEColRaw()
Returns the expression form of the ending column for the block descriptor. |
int |
GetERow()
Returns the ending row for the block descriptor. |
java.lang.String |
GetERowRaw()
Returns the expression form of the ending row for the block descriptor. |
int |
GetSCol()
Returns the starting column for the block descriptor. |
java.lang.String |
GetSColRaw()
Returns the expression form of the starting column for the block descriptor. |
int |
GetSRow()
Returns the starting row for the block descriptor. |
java.lang.String |
GetSRowRaw()
Returns the expression form of the starting row for the block descriptor. |
java.lang.String[] |
GetStrings()
Returns the string text for the block descriptor. |
java.lang.String[] |
GetStringsRaw()
Returns the expression form of the string text for the block descriptor. |
boolean |
IsCaseSense()
Returns the case sensitivity for the block descriptor. |
java.lang.String |
IsCaseSenseRaw()
Returns the expression form of the case sensitivity for the block descriptor. |
void |
SetBlockType(int type)
Sets the block matching type for the block descriptor. |
void |
SetCaseSense(boolean val)
Sets the case sensitivity for the block descriptor. |
void |
SetCaseSense(java.lang.String val)
Sets the case sensitivity for the block descriptor. |
void |
SetECol(int col)
Sets the ending column for the block descriptor. |
void |
SetECol(java.lang.String col)
Sets the ending column for the block descriptor. |
void |
SetERow(int row)
Sets the ending row for the block descriptor. |
void |
SetERow(java.lang.String row)
Sets the ending row for the block descriptor. |
void |
SetSCol(int col)
Sets the starting column for the block descriptor. |
void |
SetSCol(java.lang.String col)
Sets the starting column for the block descriptor. |
void |
SetSRow(int row)
Sets the starting row for the block descriptor. |
void |
SetSRow(java.lang.String row)
Sets the starting row for the block descriptor. |
void |
SetStrings(java.lang.String[] ss)
Sets the string text for the block descriptor. |
Methods inherited from class com.ibm.eNetwork.ECL.screenreco.ECLScreenDescriptor |
---|
IsInvertMatch,
IsInvertMatchRaw,
IsMatch,
IsOptional,
IsOptionalRaw,
SetInvertMatch,
SetInvertMatch,
SetMatch,
SetOptional,
SetOptional |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int BLOCK_ABSOLUTE
public static final int BLOCK_INRECT
Constructor Detail |
public ECLSDBlock()
If you use this constructor you must call all the set methods of this class to properly set up the descriptor.
public ECLSDBlock(int row, int col, boolean caseSense, boolean opt)
This constructor will create a usable descriptor. No set methods need be called.
row
- starting row for the string descriptorcol
- starting column for the string descriptorcaseSense
- if true, descriptor is case sensitiveopt
- if true, descriptor is optionalpublic ECLSDBlock(int srow, int scol, int erow, int ecol, boolean caseSense, boolean opt)
This constructor will create a usable descriptor. No set methods need be called.
srow
- starting row for the string descriptorscol
- starting column for the string descriptorerow
- ending row for the string descriptorecol
- ending column for the string descriptorcaseSense
- if true, descriptor is case sensitiveopt
- if true, descriptor is optionalMethod Detail |
public java.lang.String Format(int argType, boolean displayAll)
Format
in class ECLScreenDescriptor
argType
- reserved for future usedisplayAll
- if true all returned string contains all tags including those that are not explicitly set else returned string contains only those tags that are explicitly setpublic int GetBlockType()
BLOCK_ABSOLUTE
,
BLOCK_INRECT
public void SetBlockType(int type)
type
- type to set in the block descriptorBLOCK_ABSOLUTE
,
BLOCK_INRECT
public int GetSRow()
public java.lang.String GetSRowRaw()
public void SetSRow(int row)
row
- starting row for the block descriptorpublic void SetSRow(java.lang.String row)
expression
- starting row for the block descriptorpublic int GetSCol()
public java.lang.String GetSColRaw()
public void SetSCol(int col)
col
- starting column for the block descriptorpublic void SetSCol(java.lang.String col)
expression
- starting column for the block descriptorpublic int GetERow()
public java.lang.String GetERowRaw()
public void SetERow(int row)
row
- ending row for the block descriptorpublic void SetERow(java.lang.String row)
expression
- ending row for the block descriptorpublic int GetECol()
public java.lang.String GetEColRaw()
public void SetECol(int col)
col
- ending column for the block descriptorpublic void SetECol(java.lang.String col)
expression
- ending column for the block descriptorpublic java.lang.String[] GetStrings()
public java.lang.String[] GetStringsRaw()
public void SetStrings(java.lang.String[] ss)
text
- text to set in the block descriptorpublic boolean IsCaseSense()
public java.lang.String IsCaseSenseRaw()
public void SetCaseSense(boolean val)
val
- if true, descriptor is case sensitivepublic void SetCaseSense(java.lang.String val)
expression
- if true, descriptor is case sensitivepublic java.util.Vector Create(java.util.Hashtable argTable)
Create
in class ECLScreenDescriptor
argTable
- hash table that contains all the valid parameters.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |