public class StyleContext.SmallAttributeSet extends Object implements AttributeSet
AttributeSet.CharacterAttribute, AttributeSet.ColorAttribute, AttributeSet.FontAttribute, AttributeSet.ParagraphAttributeNameAttribute, ResolveAttribute| Constructor and Description | 
|---|
StyleContext.SmallAttributeSet(AttributeSet attrs)  | 
StyleContext.SmallAttributeSet(Object[] attributes)  | 
| Modifier and Type | Method and Description | 
|---|---|
Object | 
clone()
Clones a set of attributes. 
 | 
boolean | 
containsAttribute(Object name,
                 Object value)
Checks whether a given attribute name/value is defined. 
 | 
boolean | 
containsAttributes(AttributeSet attrs)
Checks whether the attribute set contains all of
 the given attributes. 
 | 
AttributeSet | 
copyAttributes()
Copies a set of attributes. 
 | 
boolean | 
equals(Object obj)
Compares this object to the specifed object. 
 | 
Object | 
getAttribute(Object key)
Gets the value of an attribute. 
 | 
int | 
getAttributeCount()
Gets the number of attributes that are defined. 
 | 
Enumeration<?> | 
getAttributeNames()
Gets the names of all attributes. 
 | 
AttributeSet | 
getResolveParent()
If not overriden, the resolving parent defaults to
 the parent element. 
 | 
int | 
hashCode()
Returns a hashcode for this set of attributes. 
 | 
boolean | 
isDefined(Object key)
Checks whether a given attribute is defined. 
 | 
boolean | 
isEqual(AttributeSet attr)
Checks whether two attribute sets are equal. 
 | 
String | 
toString()
Returns a string showing the key/value pairs 
 | 
public StyleContext.SmallAttributeSet(Object[] attributes)
public StyleContext.SmallAttributeSet(AttributeSet attrs)
public String toString()
public int hashCode()
hashCode in class ObjectObject.equals(java.lang.Object), 
System.identityHashCode(java.lang.Object)public boolean equals(Object obj)
true if the object is an equivalent
 set of attributes.equals in class Objectobj - the object to compare with.true if the objects are equal;
            false otherwise.Object.hashCode(), 
HashMappublic Object clone()
public int getAttributeCount()
getAttributeCount in interface AttributeSetAttributeSet.getAttributeCount()public boolean isDefined(Object key)
isDefined in interface AttributeSetkey - the attribute keyAttributeSet.isDefined(java.lang.Object)public boolean isEqual(AttributeSet attr)
isEqual in interface AttributeSetattr - the attribute set to check againstAttributeSet.isEqual(javax.swing.text.AttributeSet)public AttributeSet copyAttributes()
copyAttributes in interface AttributeSetAttributeSet.copyAttributes()public Object getAttribute(Object key)
getAttribute in interface AttributeSetkey - the attribute nameAttributeSet.getAttribute(java.lang.Object)public Enumeration<?> getAttributeNames()
getAttributeNames in interface AttributeSetAttributeSet.getAttributeNames()public boolean containsAttribute(Object name, Object value)
containsAttribute in interface AttributeSetname - the attribute namevalue - the attribute valueAttributeSet.containsAttribute(java.lang.Object, java.lang.Object)public boolean containsAttributes(AttributeSet attrs)
containsAttributes in interface AttributeSetattrs - the attributes to checkAttributeSet.containsAttributes(javax.swing.text.AttributeSet)public AttributeSet getResolveParent()
getResolveParent in interface AttributeSetAttributeSet.getResolveParent() Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2013, Oracle and/or its affiliates.  All rights reserved.