Example usage for Java javax.swing.text MutableAttributeSet fields, constructors, methods, implement or subclass
The text is from its open source code.
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. |
void | addAttributes(AttributeSet attributes) Creates a new attribute set similar to this one except that it contains the given attributes and values. |
Object | getAttribute(Object key) Fetches the value of the given attribute. |
Enumeration> | getAttributeNames() Returns an enumeration over the names of the attributes that are defined locally in the set. |
void | removeAttribute(Object name) Removes an attribute with the given name . |
void | removeAttributes(Enumeration> names) Removes an attribute set with the given names . |
void | removeAttributes(AttributeSet attributes) Removes a set of attributes with the given name . |