API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.text. AttributeSet View Source
Author(s)
Timothy Prinzing
Since
Version
1.42 07/11/06
Serial
Hierarchy
 AttributeSet
Subinterfaces
Description
public interface AttributeSet
  A collection of unique attributes.
See also:    MutableAttributeSet
Methods
Hide/Show inherited methods
public boolean containsAttribute (Object name, Object value)
  Returns true if this set defines an attribute with the same name and an equal value.
public boolean containsAttributes (AttributeSet attributes)
  Returns true if this set defines all the attributes from the given set with equal values.
public AttributeSet copyAttributes ()
  Returns an attribute set that is guaranteed not to change over time.
public Object getAttribute (Object key)
  Fetches the value of the given attribute.
public int getAttributeCount ()
  Returns the number of attributes that are defined locally in this set.
public Enumeration<Object> getAttributeNames ()
  Returns an enumeration over the names of the attributes that are defined locally in the set.
public AttributeSet getResolveParent ()
  Gets the resolving parent.
public boolean isDefined (Object attrName)
  Checks whether the named attribute has a value specified in the set without resolving through another attribute set.
public boolean isEqual (AttributeSet attr)
  Determines if the two attribute sets are equivalent.
Fields
Hide/Show inherited fields
publicfinalstatic Object NameAttribute
Attribute name used to name the collection of attributes.
publicfinalstatic Object ResolveAttribute
Attribute name used to identify the resolving parent set of attributes, if one is defined.
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar