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.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 | 
 
 
DefaultStyledDocument.SectionElement
public DefaultStyledDocument.SectionElement()
- 创建新 SectionElement。
 
getName
public String getName()
- 获得元素的名称。
- 指定者:
 - 接口 
Element 中的 getName - 覆盖:
 - 类 
AbstractDocument.BranchElement 中的 getName 
 
- 返回:
 - 名称
 
 
 
提交错误或意见版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only。