Example usage for Java javax.swing.text AttributeSet fields, constructors, methods, implement or subclass
The text is from its open source code.
Object | NameAttribute Attribute name used to name the collection of attributes. |
boolean | containsAttribute(Object name, Object value) Returns true if this set defines an attribute with the same name and an equal value. |
AttributeSet | copyAttributes() Returns an attribute set that is guaranteed not to change over time. |
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. |
AttributeSet | getResolveParent() Gets the resolving parent. |
boolean | isDefined(Object attrName) Checks whether the named attribute has a value specified in the set without resolving through another attribute set. |