public class WaitForDisplayString extends Command
Constructor and Description |
---|
WaitForDisplayString(java.lang.String text,
int timeout,
int row,
int column,
boolean relativeToCursor)
Constructs a new WaitForDisplayString command
|
Modifier and Type | Method and Description |
---|---|
int |
getColumn()
Gets the column.
|
java.lang.String |
getName()
Gets the command name.
|
int |
getRow()
Gets the row.
|
java.lang.String |
getText()
Gets the text to wait to appear.
|
int |
getTimeout()
Gets the wait timeout.
|
boolean |
isRelativeToCursor()
Gets the relative to cursor flag.
|
isValidEchoType
public WaitForDisplayString(java.lang.String text, int timeout, int row, int column, boolean relativeToCursor)
text
- the text to wait to appeartimeout
- the timeout in secondsrow
- if relativeToCursor is true, the offset to the cursor row; otherwise, the one-based screen row (ANY_ROW
matches any row)column
- if relativeToCursor is true, the offset to the cursor column; otherwise, the one-based screen column (ANY_COLUMN
matches any column)relativeToCursor
- true if the row and column should be interpreted as offsets from the cursor positionpublic java.lang.String getText()
public int getTimeout()
public int getRow()
isRelativeToCursor()
is true, gets the offset to the cursor row; otherwise, the one-based screen row (HostSession.ANY_ROW
matches any row)public int getColumn()
isRelativeToCursor()
is true, gets the offset to the cursor column; otherwise, the one-based screen column (HostSession.ANY_COLUMN
matches any column)public boolean isRelativeToCursor()