public interface TerminalRegion
Modifier and Type | Method and Description |
---|---|
int |
getLength()
Gets the number of characters contained within the region.
|
TerminalCell |
getTerminalCell(int offset)
Gets additional information about a single character within this
screen region as a separate immutable object.
|
java.lang.String |
getText()
Gets the text contents of the region.
|
int getLength()
java.lang.String getText()
TerminalCell getTerminalCell(int offset)
offset
- zero-based offset of character from the start of the regionjava.lang.IllegalArgumentException
- if the offset is invalid