public interface RectangularTerminalRegion extends TerminalRegion
Modifier and Type | Method and Description |
---|---|
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.
|
getLength, getTerminalCell, getText
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 regionjava.lang.IllegalArgumentException
- if the row or column is invalid