javax.swing.text
クラス DefaultStyledDocument.SectionElement
java.lang.Object
|
+--javax.swing.text.AbstractDocument.AbstractElement
|
+--javax.swing.text.AbstractDocument.BranchElement
|
+--javax.swing.text.DefaultStyledDocument.SectionElement
- すべての実装インタフェース:
- AttributeSet, Element, MutableAttributeSet, Serializable, TreeNode
- 含まれているクラス:
- DefaultStyledDocument
- protected class DefaultStyledDocument.SectionElement
- extends AbstractDocument.BranchElement
ドキュメントのデフォルトのルート要素です。ドキュメント内の段落/行を詳細に設定します。
警告:
このクラスの直列化されたオブジェクトは、今後の Swing リリースと互換ではなくなる予定です。現在の直列化のサポートは、短期間の運用や、同じバージョンの Swing を実行するアプリケーション間の RMI に適しています。今後の Swing リリースでは、長期間の持続性をサポートする予定です。
- 関連項目:
- 直列化された形式
クラス 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, finalize, 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()
- 要素の名前を取得します。
- オーバーライド:
- クラス
AbstractDocument.BranchElement
内の getName
- 戻り値:
- 名前
バグや機能要求の報告
さらに詳しい API リファレンスおよび開発者ドキュメントについては、 Java 2 SDK SE Developer Documentation を参照してください。このドキュメントには、概念、用語の定義、回避策、 実用的なコード例など、開発者を対象にした詳細な解説が掲載されています。 Java、Java 2D、JDBC は、米国およびその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.