|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.accessibility.AccessibleAttributeSequence
public class AccessibleAttributeSequence
This is a convenience class that wraps together a sequence
of text with the attributes applied to it. This allows a single
object to be used when
AccessibleContext.ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED
events are fired.
Field Summary | |
---|---|
AttributeSet |
attributes
The attributes of the text. |
int |
endIndex
The ending index. |
int |
startIndex
The starting index. |
Constructor Summary | |
---|---|
AccessibleAttributeSequence(int start,
int end,
AttributeSet attr)
Creates a new instance using the specified attributes and the supplied start and end indicies. |
Method Summary |
---|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public AttributeSet attributes
public int startIndex
public int endIndex
Constructor Detail |
---|
public AccessibleAttributeSequence(int start, int end, AttributeSet attr)
start
- the index of the start of the text.end
- the index of the end of the text.attr
- the attributes applied to the text sequence.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |