|
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.ButtonRoleImpl
class ButtonRoleImpl
Implements ButtonRole
.
Constructor Summary | |
---|---|
ButtonRoleImpl(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 |
getAriaPressedState(Element element)
Returns the value of the aria-pressed attribute for the element or "" if no
such attribute is present. |
void |
removeAriaExpandedState(Element element)
Removes the aria-expanded attribute from the element . |
void |
removeAriaPressedState(Element element)
Removes the aria-pressed attribute from the element . |
void |
setAriaExpandedState(Element element,
ExpandedValue value)
Sets the aria-expanded attribute for the element to the given value . |
void |
setAriaPressedState(Element element,
PressedValue value)
Sets the aria-pressed 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 |
---|
ButtonRoleImpl(java.lang.String roleName)
Method Detail |
---|
public java.lang.String getAriaExpandedState(Element element)
ButtonRole
element
or "" if no
such attribute is present.
getAriaExpandedState
in interface ButtonRole
public java.lang.String getAriaPressedState(Element element)
ButtonRole
element
or "" if no
such attribute is present.
getAriaPressedState
in interface ButtonRole
public void removeAriaExpandedState(Element element)
ButtonRole
element
.
removeAriaExpandedState
in interface ButtonRole
public void removeAriaPressedState(Element element)
ButtonRole
element
.
removeAriaPressedState
in interface ButtonRole
public void setAriaExpandedState(Element element, ExpandedValue value)
ButtonRole
element
to the given value
.
setAriaExpandedState
in interface ButtonRole
public void setAriaPressedState(Element element, PressedValue value)
ButtonRole
element
to the given value
.
setAriaPressedState
in interface ButtonRole
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |