|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface RectangularTerminalRegion
Represents a rectangular terminal region. A rectangular terminal region is defined by a row and column location along with a height and width.
Method Summary | |
---|---|
int |
getHeight()
Gets the number of rows in the region measured in characters. |
int |
getLeft()
Gets the leftmost column in the region. |
TerminalCell |
getTerminalCell(int row,
int column)
Provide additional information about a single character within this screen region as a separate immutable object. |
java.lang.String |
getText(int row)
Gets the screen text for the specified row in the region. |
int |
getTop()
Gets the topmost row in the region. |
int |
getWidth()
Gets the number of columns in the region measured in characters. |
Methods inherited from interface com.wrq.vhi.script.api.TerminalRegion |
---|
getLength, getTerminalCell, getText |
Method Detail |
---|
int getLeft()
int getTop()
int getWidth()
int getHeight()
java.lang.String getText(int row)
row
- one-based row within the region (not the row number on the screen)
java.lang.IllegalArgumentException
- if the row is invalidTerminalCell getTerminalCell(int row, int column)
row
- one-based row number of the character within the regioncolumn
- one-based column number of character within the region
java.lang.IllegalArgumentException
- if the row or column is invalid
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |