public class AccessibleTextSequence extends Object
AccessibleExtendedText in order to return the requested triplet of a
String, and the start and end indicies/offsets into a larger body of text that the
String comes from.
AccessibleExtendedText
| Modifier and Type | Field and Description |
|---|---|
int |
endIndex
The end index of the text sequence
|
int |
startIndex
The start index of the text sequence
|
String |
text
The text
|
| Constructor and Description |
|---|
AccessibleTextSequence(int start, int end, String
Constructs an
AccessibleTextSequence with the given parameters.
|
public int startIndex
public int endIndex
public Stringtext
public AccessibleTextSequence(int start,
int end,
String txt)
AccessibleTextSequence with the given parameters.
start - the beginning index of the span of text
end - the ending index of the span of text
txt - the
String shared by this text span