Spec-Zone.ru › OpenJDK 8

Класс DefaultStyledDocument.SectionElement

  • java.lang.Object
    • javax.swing.text.AbstractDocument.AbstractElement
      • javax.swing.text.AbstractDocument.BranchElement
        • javax.swing.text.DefaultStyledDocument.SectionElement
Все реализованные интерфейсы:
Serializable, AttributeSet, Element, MutableAttributeSet, TreeNode
Вложенный класс:
DefaultStyledDocument

protected class DefaultStyledDocument.SectionElement
extends AbstractDocument.BranchElement

Базовый элемент для документа... отображает параграфы/строки.

Предупреждение: Сериализованные объекты этого класса не будут совместимы с будущими выпусками Swing. Текущая поддержка сериализации подходит для краткосрочного хранения или RMI между приложениями, использующими одну и ту же версию Swing. Начиная с версии 1.4, добавлена поддержка долгосрочного хранения всех JavaBeans™ в пакете java.beans. См. XMLEncoder.

Вложенные классы

Вложенные классы/интерфейсы, унаследованные от интерфейса javax.swing.text.AttributeSet

AttributeSet.CharacterAttribute, AttributeSet.ColorAttribute, AttributeSet.FontAttribute, AttributeSet.ParagraphAttribute

Поля

Поля, унаследованные от интерфейса javax.swing.text.AttributeSet

NameAttribute, ResolveAttribute

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

Конструктор и описание
SectionElement()

Создаёт новый SectionElement.

Методы

Модификатор и тип Метод и описание
String getName()

Возвращает имя элемента.

Методы, унаследованные от класса javax.swing.text.AbstractDocument.BranchElement

children, getAllowsChildren, getElement, getElementCount, getElementIndex, getEndOffset, getStartOffset, isLeaf, positionToElement, replace, toString

Методы, унаследованные от класса javax.swing.text.AbstractDocument.AbstractElement

addAttribute, addAttributes, containsAttribute, containsAttributes, copyAttributes, dump, getAttribute, getAttributeCount, getAttributeNames, getAttributes, getChildAt, getChildCount, getDocument, getIndex, getParent, getParentElement, getResolveParent, isDefined, isEqual, removeAttribute, removeAttributes, removeAttributes, setResolveParent

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

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

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

SectionElement

public SectionElement()

Создаёт новый SectionElement.

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

getName

public String getName()

Возвращает имя элемента.

Указано в:
getName в интерфейсе Element
Переопределяет:
getName в классе AbstractDocument.BranchElement
Возвращает:
имя

© 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.

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API