- 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
を参照してください。- 関連項目:
- 直列化された形式
-
-
ネストされたクラスのサマリー
-
インタフェース javax.swing.text.AttributeSetから継承されたネストされたクラス/インタフェース
AttributeSet.CharacterAttribute, AttributeSet.ColorAttribute, AttributeSet.FontAttribute, AttributeSet.ParagraphAttribute
-
-
フィールドのサマリー
-
インタフェース javax.swing.text.AttributeSetから継承されたフィールド
NameAttribute, ResolveAttribute
-
-
コンストラクタのサマリー
コンストラクタ コンストラクタ 説明 SectionElement()
新しいSectionElementを作成します。
-
メソッドのサマリー
すべてのメソッド インスタンス・メソッド 具象メソッド 修飾子と型 メソッド 説明 String
getName()
要素の名前を返します。-
クラス 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
-
クラス javax.swing.text.AbstractDocument.BranchElementから継承されたメソッド
children, getAllowsChildren, getElement, getElementCount, getElementIndex, getEndOffset, getStartOffset, isLeaf, positionToElement, replace, toString
-
-
-
-
メソッドの詳細
-
getName
public String getName()
要素の名前を返します。- 定義:
getName
、インタフェース:Element
- オーバーライド:
getName
、クラス:AbstractDocument.BranchElement
- 戻り値:
- 名前
-
-