Example usage for Java javax.swing.text Style 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. |
Object | getAttribute(Object key) Fetches the value of the given attribute. |
int | getAttributeCount() Returns the number of attributes that are defined locally in this set. |
Enumeration> | getAttributeNames() Returns an enumeration over the names of the attributes that are defined locally in the set. |
String | getName() Fetches the name of the style. |
String | toString() Returns a string representation of the object. |