| 
 | JavaTM 2 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 2 Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only。