- java.lang.Object
-  
      - javax.swing.text.AbstractDocument.AbstractElement
-  
        - javax.swing.text.AbstractDocument.BranchElement
-  
          - javax.swing.text.DefaultStyledDocument.SectionElement
 
 
 
-  
       - 实现的所有接口
-  
         Serializable,AttributeSet,Element,MutableAttributeSet,TreeNode
 - Enclosing class:
- DefaultStyledDocument
 
 protected class DefaultStyledDocument.SectionElement extends AbstractDocument.BranchElement 文档的默认根元素...映射包含的段落/行。警告:此类的序列化对象与以后的Swing版本不兼容。 当前的序列化支持适用于运行相同版本Swing的应用程序之间的短期存储或RMI。 从1.4开始, java.beans软件包中添加了对所有JavaBeansjava.beans长期存储的支持。 请参阅XMLEncoder。- 另请参见:
- Serialized Form
 
-  
        
       -  
             嵌套类汇总-  
               Nested classes/interfaces declared in interface javax.swing.text.AttributeSetAttributeSet.CharacterAttribute, AttributeSet.ColorAttribute, AttributeSet.FontAttribute, AttributeSet.ParagraphAttribute
 
-  
               
 -  
             字段汇总-  
               Fields declared in interface javax.swing.text.AttributeSetNameAttribute, ResolveAttribute
 
-  
               
 -  
             构造方法摘要构造方法 构造器 描述 SectionElement()创建一个新的SectionElement。
 -  
             方法摘要所有方法 实例方法 具体的方法 变量和类型 方法 描述 StringgetName()获取元素的名称。-  
               声明方法的类 javax.swing.text.AbstractDocument.BranchElementchildren, getAllowsChildren, getElement, getElementCount, getElementIndex, getEndOffset, getStartOffset, isLeaf, positionToElement, replace, toString
 -  
               声明方法的类 javax.swing.text.AbstractDocument.AbstractElementaddAttribute, addAttributes, containsAttribute, containsAttributes, copyAttributes, dump, getAttribute, getAttributeCount, getAttributeNames, getAttributes, getChildAt, getChildCount, getDocument, getIndex, getParent, getParentElement, getResolveParent, isDefined, isEqual, removeAttribute, removeAttributes, removeAttributes, setResolveParent
 
-  
               
 
-  
             
-  
        
       -  
             方法详细信息-  getNamepublic String getName() 获取元素的名称。- Specified by:
-  
              getName在界面Element
- 重写:
-  
              getName在类AbstractDocument.BranchElement
- 结果
- 名字
 
 
-  
 
-