|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Unsafe:
Field Summary | |
static Object |
NameAttribute
Suppressed: Attribute name used to name the collection of attributes. |
static Object |
ResolveAttribute
Suppressed: Attribute name used to identify the resolving parent set of attributes, if one is defined. |
Method Summary | |
boolean |
containsAttribute(Object name,
Object value)
Enabled: Returns true if this set contains this attribute with an equal value. |
boolean |
containsAttributes(AttributeSet attributes)
Enabled: Returns true if this set contains all the attributes with equal values. |
AttributeSet |
copyAttributes()
Enabled: Returns an attribute set that is guaranteed not to change over time. |
Object |
getAttribute(Object key)
Enabled: Fetches the value of the given attribute. |
int |
getAttributeCount()
Enabled: Returns the number of attributes contained in this set. |
Enumeration |
getAttributeNames()
Enabled: Returns an enumeration over the names of the attributes in the set. |
AttributeSet |
getResolveParent()
Enabled: Gets the resolving parent. |
boolean |
isDefined(Object attrName)
Enabled: Checks whether the named attribute has a value specified in the set without resolving through another attribute set. |
boolean |
isEqual(AttributeSet attr)
Enabled: Determines if the two attribute sets are equivalent. |
Field Detail |
public static final Object NameAttribute
public static final Object ResolveAttribute
Method Detail |
public int getAttributeCount()
public boolean isDefined(Object attrName)
attrName
- the attribute name
public boolean isEqual(AttributeSet attr)
attr
- an attribute set
public AttributeSet copyAttributes()
public Object getAttribute(Object key)
key
- the non-null key of the attribute binding
public Enumeration getAttributeNames()
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 boolean containsAttribute(Object name, Object value)
name
- the non-null attribute namevalue
- the value
public boolean containsAttributes(AttributeSet attributes)
attributes
- the set of attributes to check against
public AttributeSet getResolveParent()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |