|
JavaTM 2 Platform Std. Ed. v1.3 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
一意な属性を集めた可変コレクションの汎用インタフェースです。 実装はおそらく、次の形式のコンストラクタを提供しようとします。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)
指定された名前の属性を持たないことを除いて、これと同じ新しい属性セットを作成します。 |
void |
removeAttributes(AttributeSet attributes)
指定された名前と値のどれかを持つ属性を保持しないことを除いて、これと同じ新しい属性セットを作成します。 |
void |
removeAttributes(Enumeration 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
- 属性名public void removeAttributes(Enumeration names)
names
- 名前のセットpublic void removeAttributes(AttributeSet attributes)
attributes
- 属性セットpublic void setResolveParent(AttributeSet parent)
parent
- 親
|
JavaTM 2 Platform Std. Ed. v1.3 |
|||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 内部クラス | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
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.