クラスHTMLDocument.RunElement
java.lang.Object
javax.swing.text.AbstractDocument.AbstractElement
javax.swing.text.AbstractDocument.LeafElement
javax.swing.text.html.HTMLDocument.RunElement
- すべての実装されたインタフェース:
Serializable, AttributeSet, Element, MutableAttributeSet, TreeNode
- 含まれているクラス:
HTMLDocument
public class HTMLDocument.RunElement extends AbstractDocument.LeafElement
HTML文字レベル属性のセットが割り当てられているテキストのチャンクを表す要素です。
-
ネストされたクラスのサマリー
インタフェースで宣言されたネストされたクラス/インタフェース AttributeSet
AttributeSet.CharacterAttribute, AttributeSet.ColorAttribute, AttributeSet.FontAttribute, AttributeSet.ParagraphAttribute -
フィールドのサマリー
インタフェースで宣言されたフィールド AttributeSet
NameAttribute, ResolveAttribute -
コンストラクタのサマリー
コンストラクタコンストラクタ説明RunElement(Element parent, AttributeSet a, int offs0, int offs1) ドキュメント内のコンテンツを表す(子を持たない)要素を作成します。 -
メソッドのサマリー
クラスで宣言されたメソッド AbstractDocument.LeafElement
children, getAllowsChildren, getElement, getElementCount, getElementIndex, getEndOffset, getStartOffset, isLeaf, toStringクラスで宣言されたメソッド AbstractDocument.AbstractElement
addAttribute, addAttributes, containsAttribute, containsAttributes, copyAttributes, dump, getAttribute, getAttributeCount, getAttributeNames, getAttributes, getChildAt, getChildCount, getDocument, getIndex, getParent, getParentElement, isDefined, isEqual, removeAttribute, removeAttributes, removeAttributes, setResolveParent
-
コンストラクタの詳細
-
RunElement
public RunElement(Element parent, AttributeSet a, int offs0, int offs1) ドキュメント内のコンテンツを表す(子を持たない)要素を作成します。- パラメータ:
parent- 親要素a- 要素の属性offs0- 開始オフセット(最小でも0でなければならない)offs1- 終了オフセット(最小でもoffs0でなければならない)- 導入されたバージョン:
- 1.4
-
-
メソッドの詳細
-
getName
public String getName()要素の名前を返します。- 定義:
getName、インタフェースElement- オーバーライド:
getName、クラスAbstractDocument.LeafElement- 戻り値:
- 名前。ない場合はnull
-
getResolveParent
public AttributeSet getResolveParent()解釈処理側の親を返します。 HTML属性はモデル・レベルでは継承されないので、nullを返すように、このメソッドをオーバーライドします。- 定義:
getResolveParent、インタフェースAttributeSet- オーバーライド:
getResolveParent、クラスAbstractDocument.AbstractElement- 戻り値:
- 親がない場合はnull
- 関連項目:
-