|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines the methods needed to implement an Attrs object (ie. something for which you can get/set markup attrs). Currently implemented by BComponent and ItemMap, this allows the renderers to update attributes within elements (ie. class, title, alt, etc attributes
Method Summary | |
Object |
getAttr(Object attr)
get an attribute associated with this particular component. |
Map |
getAttrMap()
get a reference of the underlying component attribute Map |
Attrs |
setAttr(Object attr,
Object val)
set an attribute for this particular component. |
Method Detail |
public Attrs setAttr(Object attr, Object val)
attr
- the attribute nameval
- the attribute valuepublic Object getAttr(Object attr)
attr
- the attribute name
public Map getAttrMap()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |