|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
public interface MutableAttributeSet
一意な属性を集めた可変コレクションの総称インタフェースです。 実装はおそらく、次の形式のコンストラクタを提供しようとします。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)
指定した name を持つ属性セットを削除します。 |
void |
setResolveParent(AttributeSet parent)
解釈処理側の親を設定します。 |
| インタフェース javax.swing.text.AttributeSet から継承されたメソッド |
|---|
containsAttribute, containsAttributes, copyAttributes, getAttribute, getAttributeCount, getAttributeNames, getResolveParent, isDefined, isEqual |
| メソッドの詳細 |
|---|
void addAttribute(Object name,
Object value)
name - 名前value - 値void addAttributes(AttributeSet attributes)
attributes - 属性セットvoid removeAttribute(Object name)
name を持つ属性を削除します。
name - 属性名void removeAttributes(Enumeration<?> names)
name を持つ属性セットを削除します。
names - 名前のセットvoid removeAttributes(AttributeSet attributes)
name を持つ属性セットを削除します。
attributes - 属性セットvoid setResolveParent(AttributeSet parent)
parent - 親
|
JavaTM Platform Standard Ed. 6 |
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | |||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | |||||||||
Copyright 2009 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Documentation Redistribution Policy も参照してください。