API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.swing.text. StyleContext.SmallAttributeSet View Source
Author(s)
Since
Version
Serial
Hierarchy
 Object
      StyleContext.SmallAttributeSet
Implements
 AttributeSet
Subclasses
Description
public class StyleContext.SmallAttributeSet
  This class holds a small number of attributes in an array.
See also:   
Constructors
public StyleContext.SmallAttributeSet (AttributeSet attrs)
public StyleContext.SmallAttributeSet (Object attributes)
Methods
Hide/Show inherited methods
public Object clone ()
  Clones a set of attributes.
public boolean containsAttribute (Object name, Object value) [Specified in AttributeSet]
  Checks whether a given attribute name/value is defined.
public boolean containsAttributes (AttributeSet attrs) [Specified in AttributeSet]
  Checks whether the attribute set contains all of the given attributes.
public AttributeSet copyAttributes () [Specified in AttributeSet]
  Copies a set of attributes.
public boolean equals (Object obj)
  Compares this object to the specifed object.
public Object getAttribute (Object key) [Specified in AttributeSet]
  Gets the value of an attribute.
public int getAttributeCount () [Specified in AttributeSet]
  Gets the number of attributes that are defined.
public Enumeration<Object> getAttributeNames () [Specified in AttributeSet]
  Gets the names of all attributes.
pack-private Object getLocalAttribute (Object nm)
public AttributeSet getResolveParent () [Specified in AttributeSet]
  If not overriden, the resolving parent defaults to the parent element.
public int hashCode ()
  Returns a hashcode for this set of attributes.
public boolean isDefined (Object key) [Specified in AttributeSet]
  Checks whether a given attribute is defined.
public boolean isEqual (AttributeSet attr) [Specified in AttributeSet]
  Checks whether two attribute sets are equal.
public String toString ()
Returns a string showing the key/value pairs
Fields
Hide/Show inherited fields
pack-private Object attributes
publicfinalstatic Object NameAttribute [Inherited From AttributeSet]
Attribute name used to name the collection of attributes.
publicfinalstatic Object ResolveAttribute [Inherited From AttributeSet]
Attribute name used to identify the resolving parent set of attributes, if one is defined.
pack-private AttributeSet resolveParent
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar