JavaTM 2 Platform
Standard Ed. 6

javax.swing.text
类 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 版本不兼容。当前序列化支持适用于短期存储或运行相同 Swing 版本的应用程序之间的 RMI。从 1.4 版本开始,已在 java.beans 包中添加了支持所有 JavaBeansTM 长期存储的功能。请参见 XMLEncoder


嵌套类摘要
 
从接口 javax.swing.text.AttributeSet 继承的嵌套类/接口
AttributeSet.CharacterAttribute, AttributeSet.ColorAttribute, AttributeSet.FontAttribute, AttributeSet.ParagraphAttribute
 
字段摘要
 
从接口 javax.swing.text.AttributeSet 继承的字段
NameAttribute, ResolveAttribute
 
构造方法摘要
DefaultStyledDocument.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
 

构造方法详细信息

DefaultStyledDocument.SectionElement

public DefaultStyledDocument.SectionElement()
创建新 SectionElement。

方法详细信息

getName

public String getName()
获得元素的名称。

指定者:
接口 Element 中的 getName
覆盖:
AbstractDocument.BranchElement 中的 getName
返回:
名称

JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only