protected class

DefaultStyledDocument.SectionElement

extends AbstractDocument.BranchElement
java.lang.Object
   ↳ javax.swing.text.AbstractDocument.AbstractElement
     ↳ javax.swing.text.AbstractDocument.BranchElement
       ↳ javax.swing.text.DefaultStyledDocument.SectionElement

Class Overview

Default root element for a document... maps out the paragraphs/lines contained.

Warning: Serialized objects of this class will not be compatible with future Swing releases. The current serialization support is appropriate for short term storage or RMI between applications running the same version of Swing. As of 1.4, support for long term storage of all JavaBeansTM has been added to the java.beans package. Please see XMLEncoder.

Summary

[Expand]
Inherited Fields
From interface javax.swing.text.AttributeSet
Public Constructors
DefaultStyledDocument.SectionElement()
Creates a new SectionElement.
Public Methods
String getName()
Gets the name of the element.
[Expand]
Inherited Methods
From class javax.swing.text.AbstractDocument.BranchElement
From class javax.swing.text.AbstractDocument.AbstractElement
From class java.lang.Object
From interface javax.swing.text.AttributeSet
From interface javax.swing.text.Element
From interface javax.swing.text.MutableAttributeSet
From interface javax.swing.tree.TreeNode

Public Constructors

public DefaultStyledDocument.SectionElement ()

Creates a new SectionElement.

Public Methods

public String getName ()

Gets the name of the element.

Returns
  • the name