Methods Summary |
---|
public boolean | containsAttribute(java.lang.Object name, java.lang.Object value)Returns true if this set contains this attribute with an equal value.
|
public boolean | containsAttributes(javax.swing.text.AttributeSet attributes)Returns true if this set contains all the attributes with equal values.
|
public javax.swing.text.AttributeSet | copyAttributes()Returns an attribute set that is guaranteed not
to change over time.
|
public java.lang.Object | getAttribute(java.lang.Object key)Fetches the value of the given attribute. If the value is not found
locally, the search is continued upward through the resolving
parent (if one exists) until the value is either
found or there are no more parents. If the value is not found,
null is returned.
|
public int | getAttributeCount()Returns the number of attributes contained in this set.
|
public java.util.Enumeration | getAttributeNames()Returns an enumeration over the names of the attributes in the set.
The values of the Enumeration may be anything
and are not constrained to a particular Object type.
The set does not include the resolving parent, if one is defined.
|
public javax.swing.text.AttributeSet | getResolveParent()Gets the resolving parent.
|
public boolean | isDefined(java.lang.Object attrName)Checks whether the named attribute has a value specified in
the set without resolving through another attribute
set.
|
public boolean | isEqual(javax.swing.text.AttributeSet attr)Determines if the two attribute sets are equivalent.
|