public class AccessibleTextSequence extends Object
AccessibleExtendedText
in order to return the requested triplet of a String
, and the start and end indices/offsets into a larger body of text that the String
comes from.Modifier and Type | Field | Description |
---|---|---|
int |
endIndex |
The end index of the text sequence. |
int |
startIndex |
The start index of the text sequence. |
String |
text |
The text. |
Constructor | Description |
---|---|
AccessibleTextSequence |
Constructs an AccessibleTextSequence with the given parameters. |
public int startIndex
public int endIndex
public String text
public AccessibleTextSequence(int start, int end, String txt)
AccessibleTextSequence
with the given parameters.start
- the beginning index of the span of textend
- the ending index of the span of texttxt
- the String
shared by this text span
© 1993, 2023, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/en/java/javase/21/docs/api/java.desktop/javax/accessibility/AccessibleTextSequence.html