Класс AccessibleAttributeSequence

public class AccessibleAttributeSequence
extends Object

Этот класс собирает вместе фрагмент текста, у которого есть общий непрерывный набор атрибутов, вместе с этим набором атрибутов. Он используется реализаторами класса AccessibleContext для генерации ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED событий.

См. также:
AccessibleContext, AccessibleContext.ACCESSIBLE_TEXT_ATTRIBUTES_CHANGED

Поля

Модификатор и тип Поле Описание
AttributeSet attributes

Атрибуты текста.

int endIndex

Конечный индекс последовательности текста.

int startIndex

Начальный индекс последовательности текста.

Конструкторы

Конструктор Описание
AccessibleAttributeSequence​(int start, int end, AttributeSet attr)

Конструирует AccessibleAttributeSequence с заданными параметрами.

Методы

Методы, объявленные в классе java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Подробное описание полей

startIndex

public int startIndex

Начальный индекс последовательности текста.

endIndex

public int endIndex

Конечный индекс последовательности текста.

attributes

public AttributeSet attributes

Атрибуты текста.

Подробное описание конструкторов

AccessibleAttributeSequence(int,int,javax.swing.text.AttributeSet)

public AccessibleAttributeSequence(int start,
                                   int end,
                                   AttributeSet attr)

Конструирует AccessibleAttributeSequence с заданными параметрами.

Параметры:
start - начальный индекс фрагмента текста
end - конечный индекс фрагмента текста
attr - AttributeSet общий для этого фрагмента текста
С тех пор:
1.6

© 1993, 2020, 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/11/docs/api/java.desktop/javax/accessibility/AccessibleAttributeSequence.html

Spec-Zone .ru
спецификации, руководства, описания, API