|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.google.gwt.aria.client.RoleImpl com.google.gwt.aria.client.HeadingRoleImpl
class HeadingRoleImpl
Implements HeadingRole
.
Constructor Summary | |
---|---|
HeadingRoleImpl(java.lang.String roleName)
|
Method Summary | |
---|---|
java.lang.String |
getAriaExpandedState(Element element)
Returns the value of the aria-expanded attribute for the element or "" if no
such attribute is present. |
java.lang.String |
getAriaLevelProperty(Element element)
Returns the value of the aria-level attribute for the element or "" if no
such attribute is present. |
void |
removeAriaExpandedState(Element element)
Removes the aria-expanded attribute from the element . |
void |
removeAriaLevelProperty(Element element)
Removes the aria-level attribute from the element . |
void |
setAriaExpandedState(Element element,
ExpandedValue value)
Sets the aria-expanded attribute for the element to the given value . |
void |
setAriaLevelProperty(Element element,
int value)
Sets the aria-level attribute for the element to the given value . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
HeadingRoleImpl(java.lang.String roleName)
Method Detail |
---|
public java.lang.String getAriaExpandedState(Element element)
SectionheadRole
element
or "" if no
such attribute is present.
getAriaExpandedState
in interface SectionheadRole
public java.lang.String getAriaLevelProperty(Element element)
HeadingRole
element
or "" if no
such attribute is present.
getAriaLevelProperty
in interface HeadingRole
public void removeAriaExpandedState(Element element)
SectionheadRole
element
.
removeAriaExpandedState
in interface SectionheadRole
public void removeAriaLevelProperty(Element element)
HeadingRole
element
.
removeAriaLevelProperty
in interface HeadingRole
public void setAriaExpandedState(Element element, ExpandedValue value)
SectionheadRole
element
to the given value
.
setAriaExpandedState
in interface SectionheadRole
public void setAriaLevelProperty(Element element, int value)
HeadingRole
element
to the given value
.
setAriaLevelProperty
in interface HeadingRole
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |