public XXXAttributeSet(ConstAttributeSet source);
Modifier and Type | Method and Description |
---|---|
public void | addAttribute(Object
the name name, Object the value value)Creates a new attribute set similar to this one except that it contains an attribute with the given name and value. |
public void | addAttributes(AttributeSet
the set of attributes attributes)Creates a new attribute set similar to this one except that it contains the given attributes and values. |
public void | |
public void | removeAttributes(Enumeration<?>
the set of names names)Removes an attribute set with the given |
public void | removeAttributes(AttributeSet
the set of attributes attributes)Removes a set of attributes with the given |
public void |
addAttribute | back to summary |
---|---|
public void addAttribute(Object name, Object value) Creates a new attribute set similar to this one except that it contains an attribute with the given name and value. The object must be immutable, or not mutated by any client. |
addAttributes | back to summary |
---|---|
public void addAttributes(AttributeSet attributes) Creates a new attribute set similar to this one except that it contains the given attributes and values.
|
removeAttribute | back to summary |
---|---|
public void removeAttribute(Object name) Removes an attribute with the given
|
removeAttributes | back to summary |
---|---|
public void removeAttributes(Enumeration<?> names) Removes an attribute set with the given
|
removeAttributes | back to summary |
---|---|
public void removeAttributes(AttributeSet attributes) Removes a set of attributes with the given
|
setResolveParent | back to summary |
---|---|
public void setResolveParent(AttributeSet parent) Sets the resolving parent. This is the set of attributes to resolve through if an attribute isn't defined locally.
|