APIdia Launch Partner
Top Description Fields Constructors Methods
javax.accessibility

public Class AccessibleTextSequence

extends Object
Class Inheritance

This class collects together key details of a span of text. It is used by implementors of the class 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.
See Also
AccessibleExtendedText

Field Summary

Modifier and TypeField and Description
public int
endIndex

The end index of the text sequence.

public int
startIndex

The start index of the text sequence.

public String
text

The text.

Constructor Summary

AccessConstructor and Description
public
AccessibleTextSequence(int
the beginning index of the span of text
start
,
int
the ending index of the span of text
end
,
String
the String shared by this text span
txt
)

Constructs an AccessibleTextSequence with the given parameters.

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

endIndexback to summary
public int endIndex

The end index of the text sequence.

startIndexback to summary
public int startIndex

The start index of the text sequence.

textback to summary
public String text

The text.

Constructor Detail

AccessibleTextSequenceback to summary
public AccessibleTextSequence(int start, int end, String txt)

Constructs an AccessibleTextSequence with the given parameters.

Parameters
start:int

the beginning index of the span of text

end:int

the ending index of the span of text

txt:String

the String shared by this text span

Since
1.6