|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
一意な属性を集めた可変コレクションの汎用インタフェースです。実装はおそらく、次の形式のコンストラクタを提供しようとします。 public XXXAttributeSet(ConstAttributeSet source);
| 入れ子クラスの概要 |
| クラス javax.swing.text.AttributeSet から継承した入れ子クラス |
AttributeSet.CharacterAttribute, AttributeSet.ColorAttribute, AttributeSet.FontAttribute, AttributeSet.ParagraphAttribute |
| フィールドの概要 |
| インタフェース javax.swing.text.AttributeSet から継承したフィールド |
NameAttribute, ResolveAttribute |
| メソッドの概要 | |
void |
addAttribute(Object name,
Object value)
指定された名前と値を持つ属性を保持することを除いて、これと同じ新しい属性セットを作成します。 |
void |
addAttributes(AttributeSet attributes)
指定された属性と値を持つことを除いて、これと同じ新しい属性セットを作成します。 |
void |
removeAttribute(Object name)
指定した name を持つ属性を削除します。 |
void |
removeAttributes(AttributeSet attributes)
指定した name を持つ属性セットを削除します。 |
void |
removeAttributes(Enumeration names)
指定した names を持つ属性セットを削除します。 |
void |
setResolveParent(AttributeSet parent)
解釈処理側の親を設定します。 |
| インタフェース javax.swing.text.AttributeSet から継承したメソッド |
containsAttribute, containsAttributes, copyAttributes, getAttribute, getAttributeCount, getAttributeNames, getResolveParent, isDefined, isEqual |
| メソッドの詳細 |
public void addAttribute(Object name,
Object value)
name - 名前value - 値public void addAttributes(AttributeSet attributes)
attributes - 属性セットpublic void removeAttribute(Object name)
name を持つ属性を削除します。
name - 属性名public void removeAttributes(Enumeration names)
names を持つ属性セットを削除します。
names - 名前のセットpublic void removeAttributes(AttributeSet attributes)
name を持つ属性セットを削除します。
attributes - 属性セットpublic void setResolveParent(AttributeSet parent)
parent - 親
|
JavaTM 2 Platform Std. Ed. v1.4.0 |
||||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||||
Java、Java 2D、および JDBC は米国ならびにその他の国における米国 Sun Microsystems, Inc. の商標もしくは登録商標です。
Copyright 1993-2002 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.