クラス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では、すべてのJavaBeansの長期ストレージのサポートがjava.beansパッケージに追加されました。 XMLEncoderを参照してください。
-
ネストされたクラスのサマリー
インタフェースで宣言されたネストされたクラス/インタフェース AttributeSet
AttributeSet.CharacterAttribute, AttributeSet.ColorAttribute, AttributeSet.FontAttribute, AttributeSet.ParagraphAttribute -
フィールドのサマリー
インタフェースで宣言されたフィールド AttributeSet
NameAttribute, ResolveAttribute -
コンストラクタのサマリー
コンストラクタ -
メソッドのサマリー
クラスで宣言されたメソッド AbstractDocument.BranchElement
children, getAllowsChildren, getElement, getElementCount, getElementIndex, getEndOffset, getStartOffset, isLeaf, positionToElement, replace, toStringクラスで宣言されたメソッド 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
public String getName()要素の名前を返します。- 定義:
getName、インタフェースElement- オーバーライド:
getName、クラスAbstractDocument.BranchElement- 戻り値:
- 名前
-