Whole document tree
javax.swing.text
|
Method Summary | |
AttributeSet |
addAttribute(AttributeSet old,
Object name,
Object value)
Adds an attribute to the given set, and returns the new representative set. |
AttributeSet |
addAttributes(AttributeSet old,
AttributeSet attr)
Adds a set of attributes to the element. |
AttributeSet |
getEmptySet()
Fetches an empty AttributeSet. |
void |
reclaim(AttributeSet a)
Reclaims an attribute set. |
AttributeSet |
removeAttribute(AttributeSet old,
Object name)
Removes an attribute from the set. |
AttributeSet |
removeAttributes(AttributeSet old,
AttributeSet attrs)
Removes a set of attributes for the element. |
AttributeSet |
removeAttributes(AttributeSet old,
Enumeration names)
Removes a set of attributes for the element. |
Method Detail |
public AttributeSet addAttribute(AttributeSet old, Object name, Object value)
old
- the old attribute setname
- the non-null attribute namevalue
- the attribute valueMutableAttributeSet.addAttribute(java.lang.Object, java.lang.Object)
public AttributeSet addAttributes(AttributeSet old, AttributeSet attr)
old
- the old attribute setattr
- the attributes to addMutableAttributeSet.addAttribute(java.lang.Object, java.lang.Object)
public AttributeSet removeAttribute(AttributeSet old, Object name)
old
- the old attribute setname
- the non-null attribute nameMutableAttributeSet.removeAttribute(java.lang.Object)
public AttributeSet removeAttributes(AttributeSet old, Enumeration names)
old
- the old attribute setnames
- the attribute namesMutableAttributeSet.removeAttributes(java.util.Enumeration)
public AttributeSet removeAttributes(AttributeSet old, AttributeSet attrs)
old
- the old attribute setattrs
- the attributesMutableAttributeSet.removeAttributes(java.util.Enumeration)
public AttributeSet getEmptySet()
public void reclaim(AttributeSet a)
a
- the attribute set to reclaim
|
JavaTM 2 Platform Std. Ed. v1.3.1 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2001 Sun Microsystems, Inc. 901 San Antonio Road
Palo Alto, California, 94303, U.S.A. All Rights Reserved.