- java.lang.Object
- 
- javax.swing.text.AbstractDocument.AbstractElement
- 
- javax.swing.text.AbstractDocument.BranchElement
- 
- javax.swing.text.html.HTMLDocument.BlockElement
 
 
 
- 
- すべての実装されたインタフェース:
- Serializable,- AttributeSet,- Element,- MutableAttributeSet,- TreeNode
 - 含まれているクラス:
- HTMLDocument
 
 public class HTMLDocument.BlockElement extends AbstractDocument.BranchElement HTMLの構造ブロックを表す要素です。
- 
- 
ネストされたクラスのサマリー- 
インタフェース javax.swing.text.AttributeSetで宣言されたネストされたクラス/インタフェースAttributeSet.CharacterAttribute, AttributeSet.ColorAttribute, AttributeSet.FontAttribute, AttributeSet.ParagraphAttribute
 
- 
 - 
フィールドのサマリー- 
インタフェース javax.swing.text.AttributeSetで宣言されたフィールドNameAttribute, ResolveAttribute
 
- 
 - 
コンストラクタのサマリーコンストラクタ コンストラクタ 説明 BlockElement(Element parent, AttributeSet a)最初は子を含まない、複合要素を作成します。
 - 
メソッドのサマリー修飾子と型 メソッド 説明 StringgetName()要素の名前を返します。AttributeSetgetResolveParent()解釈処理側の親を返します。- 
クラス 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, isDefined, isEqual, removeAttribute, removeAttributes, removeAttributes, setResolveParent
 
- 
 
- 
- 
- 
コンストラクタの詳細- 
BlockElementpublic BlockElement(Element parent, AttributeSet a) 最初は子を含まない、複合要素を作成します。- パラメータ:
- parent- 親要素
- a- 要素の属性
- 導入されたバージョン:
- 1.4
 
 
- 
 - 
メソッドの詳細- 
getNamepublic String getName() 要素の名前を返します。- 定義:
- getName、インタフェース:- Element
- オーバーライド:
- getName、クラス:- AbstractDocument.BranchElement
- 戻り値:
- 名前。ない場合はnull
 
 - 
getResolveParentpublic AttributeSet getResolveParent() 解釈処理側の親を返します。 HTML属性はモデル・レベルでは継承されないので、nullを返すように、このメソッドをオーバーライドします。- 定義:
- getResolveParent、インタフェース:- AttributeSet
- オーバーライド:
- getResolveParent、クラス:- AbstractDocument.AbstractElement
- 戻り値:
- 親がない場合はnull
- 関連項目:
- AttributeSet.getResolveParent()
 
 
- 
 
-