JavaTM Platform
Standard Ed. 6

javax.swing.text
クラス 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 に適しています。JDK Version 1.4 以降、すべての JavaBeans の長期間の運用サポートは、java.beans パッケージに追加されています。詳細は、XMLEncoder を参照してください。


入れ子のクラスの概要
 
インタフェース javax.swing.text.AttributeSet から継承された入れ子のクラス/インタフェース
AttributeSet.CharacterAttribute, AttributeSet.ColorAttribute, AttributeSet.FontAttribute, AttributeSet.ParagraphAttribute
 
フィールドの概要
 
インタフェース javax.swing.text.AttributeSet から継承されたフィールド
NameAttribute, ResolveAttribute
 
コンストラクタの概要
DefaultStyledDocument.SectionElement()
          新しい SectionElement を作成します。
 
メソッドの概要
 String getName()
          要素の名前を取得します。
 
クラス 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, getAttribute, getAttributeCount, getAttributeNames, getAttributes, getChildAt, getChildCount, getDocument, getIndex, getParent, getParentElement, getResolveParent, isDefined, isEqual, removeAttribute, removeAttributes, removeAttributes, setResolveParent
 
クラス java.lang.Object から継承されたメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

コンストラクタの詳細

DefaultStyledDocument.SectionElement

public DefaultStyledDocument.SectionElement()
新しい SectionElement を作成します。

メソッドの詳細

getName

public String getName()
要素の名前を取得します。

定義:
インタフェース Element 内の getName
オーバーライド:
クラス AbstractDocument.BranchElement 内の getName
戻り値:
名前

JavaTM Platform
Standard Ed. 6

バグの報告と機能のリクエスト
さらに詳しい API リファレンスおよび開発者ドキュメントについては、Java SE 開発者用ドキュメントを参照してください。開発者向けの詳細な解説、概念の概要、用語の定義、バグの回避策、およびコード実例が含まれています。

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。