Top Description Fields Constructors Methods
javax.accessibility

public Class AccessibleAttributeSequence

extends Object
Class Inheritance
Imports
javax.swing.text.AttributeSet

This class collects together the span of text that share the same contiguous set of attributes, along with that set of attributes. It is used by implementors of the class AccessibleContext in order to generate ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED events.
See Also
AccessibleContext, AccessibleContext#ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED

Field Summary

Modifier and TypeField and Description
public AttributeSet
attributes

The text attributes.

public int
endIndex

The end index of the text sequence.

public int
startIndex

The start index of the text sequence.

Constructor Summary

AccessConstructor and Description
public
AccessibleAttributeSequence(int
the beginning index of the span of text
start
,
int
the ending index of the span of text
end
,
AttributeSet
the AttributeSet shared by this text span
attr
)

Constructs an AccessibleAttributeSequence with the given parameters.

Method Summary

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

attributesback to summary
public AttributeSet attributes

The text attributes.

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.

Constructor Detail

AccessibleAttributeSequenceback to summary
public AccessibleAttributeSequence(int start, int end, AttributeSet attr)

Constructs an AccessibleAttributeSequence 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

attr:AttributeSet

the AttributeSet shared by this text span

Since
1.6