Package com.google.gwt.aria.client
Interface ButtonRole
- All Superinterfaces:
CommandRole
,Role
,WidgetRole
- All Known Implementing Classes:
ButtonRoleImpl
A type that represents the button
role in the ARIA specification.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiongetAriaExpandedState
(Element element) Returns the value of the aria-expanded attribute for theelement
or "" if no such attribute is present.getAriaPressedState
(Element element) Returns the value of the aria-pressed attribute for theelement
or "" if no such attribute is present.void
removeAriaExpandedState
(Element element) Removes the aria-expanded attribute from theelement
.void
removeAriaPressedState
(Element element) Removes the aria-pressed attribute from theelement
.void
setAriaExpandedState
(Element element, ExpandedValue value) void
setAriaPressedState
(Element element, PressedValue value) Methods inherited from interface com.google.gwt.aria.client.Role
getAriaAtomicProperty, getAriaBusyState, getAriaControlsProperty, getAriaDescribedbyProperty, getAriaDisabledState, getAriaDropeffectProperty, getAriaFlowtoProperty, getAriaGrabbedState, getAriaHaspopupProperty, getAriaHiddenState, getAriaInvalidState, getAriaLabelledbyProperty, getAriaLabelProperty, getAriaLiveProperty, getAriaOwnsProperty, getAriaRelevantProperty, getName, getTabindexExtraAttribute, remove, removeAriaAtomicProperty, removeAriaBusyState, removeAriaControlsProperty, removeAriaDescribedbyProperty, removeAriaDisabledState, removeAriaDropeffectProperty, removeAriaFlowtoProperty, removeAriaGrabbedState, removeAriaHaspopupProperty, removeAriaHiddenState, removeAriaInvalidState, removeAriaLabelledbyProperty, removeAriaLabelProperty, removeAriaLiveProperty, removeAriaOwnsProperty, removeAriaRelevantProperty, removeTabindexExtraAttribute, set, setAriaAtomicProperty, setAriaBusyState, setAriaControlsProperty, setAriaDescribedbyProperty, setAriaDisabledState, setAriaDropeffectProperty, setAriaFlowtoProperty, setAriaGrabbedState, setAriaHaspopupProperty, setAriaHiddenState, setAriaInvalidState, setAriaLabelledbyProperty, setAriaLabelProperty, setAriaLiveProperty, setAriaOwnsProperty, setAriaRelevantProperty, setTabindexExtraAttribute
-
Method Details
-
getAriaExpandedState
Returns the value of the aria-expanded attribute for theelement
or "" if no such attribute is present. -
getAriaPressedState
Returns the value of the aria-pressed attribute for theelement
or "" if no such attribute is present. -
removeAriaExpandedState
Removes the aria-expanded attribute from theelement
. -
removeAriaPressedState
Removes the aria-pressed attribute from theelement
. -
setAriaExpandedState
-
setAriaPressedState
-