< prev index next >
src/java.desktop/share/classes/javax/accessibility/AccessibleAttributeSequence.java
Print this page
*** 41,52 ****
*/
/**
* 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 <code>AccessibleContext</code> in
! * order to generate <code>ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED</code> events.
*
* @see javax.accessibility.AccessibleContext
* @see javax.accessibility.AccessibleContext#ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED
*/
public class AccessibleAttributeSequence {
--- 41,52 ----
*/
/**
* 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 {@code AccessibleContext} in
! * order to generate {@code ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED} events.
*
* @see javax.accessibility.AccessibleContext
* @see javax.accessibility.AccessibleContext#ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED
*/
public class AccessibleAttributeSequence {
*** 58,73 ****
/** The text attributes */
public AttributeSet attributes;
/**
! * Constructs an <code>AccessibleAttributeSequence</code> with the given
* parameters.
*
* @param start the beginning index of the span of text
* @param end the ending index of the span of text
! * @param attr the <code>AttributeSet</code> shared by this text span
*
* @since 1.6
*/
public AccessibleAttributeSequence(int start, int end, AttributeSet attr) {
startIndex = start;
--- 58,73 ----
/** The text attributes */
public AttributeSet attributes;
/**
! * Constructs an {@code AccessibleAttributeSequence} with the given
* parameters.
*
* @param start the beginning index of the span of text
* @param end the ending index of the span of text
! * @param attr the {@code AttributeSet} shared by this text span
*
* @since 1.6
*/
public AccessibleAttributeSequence(int start, int end, AttributeSet attr) {
startIndex = start;
< prev index next >