java.lang.Object
javax.swing.text.AbstractDocument.AbstractElement
javax.swing.text.AbstractDocument.BranchElement
javax.swing.text.DefaultStyledDocument.SectionElement
- 所有已实现的接口:
Serializable,AttributeSet,Element,MutableAttributeSet,TreeNode
文档的默认根元素...映射出包含的段落/行。
Warning: 此类的序列化对象将与未来的 Swing 版本不兼容。当前的序列化支持适用于运行相同版本 Swing 的应用程序之间的短期存储或 RMI。从 1.4 开始,对所有 JavaBeans 的长期存储的支持已添加到 java.beans 包中。请参阅 XMLEncoder 。
-
内部类总结
在接口 javax.swing.text.AttributeSet 中声明的嵌套类/接口
AttributeSet.CharacterAttribute, AttributeSet.ColorAttribute, AttributeSet.FontAttribute, AttributeSet.ParagraphAttribute -
字段摘要
在接口 javax.swing.text.AttributeSet 中声明的字段
NameAttribute, ResolveAttribute -
构造方法总结
构造方法 -
方法总结
在类 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
-
构造方法详细信息
-
SectionElement
public SectionElement()创建一个新的 SectionElement。
-
-
方法详情
-
getName
获取元素的名称。- 指定者:
getName在接口Element中- 重写:
getName在类AbstractDocument.BranchElement中- 返回:
- 名字
-