Package com.google.gwt.aria.client
Class ButtonRoleImpl
java.lang.Object
com.google.gwt.aria.client.RoleImpl
com.google.gwt.aria.client.ButtonRoleImpl
- All Implemented Interfaces:
ButtonRole
,CommandRole
,Role
,WidgetRole
Implements ButtonRole
.
-
Constructor Summary
-
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 class com.google.gwt.aria.client.RoleImpl
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
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
-
Constructor Details
-
ButtonRoleImpl
ButtonRoleImpl(String roleName)
-
-
Method Details
-
getAriaExpandedState
Description copied from interface:ButtonRole
Returns the value of the aria-expanded attribute for theelement
or "" if no such attribute is present.- Specified by:
getAriaExpandedState
in interfaceButtonRole
-
getAriaPressedState
Description copied from interface:ButtonRole
Returns the value of the aria-pressed attribute for theelement
or "" if no such attribute is present.- Specified by:
getAriaPressedState
in interfaceButtonRole
-
removeAriaExpandedState
Description copied from interface:ButtonRole
Removes the aria-expanded attribute from theelement
.- Specified by:
removeAriaExpandedState
in interfaceButtonRole
-
removeAriaPressedState
Description copied from interface:ButtonRole
Removes the aria-pressed attribute from theelement
.- Specified by:
removeAriaPressedState
in interfaceButtonRole
-
setAriaExpandedState
Description copied from interface:ButtonRole
- Specified by:
setAriaExpandedState
in interfaceButtonRole
-
setAriaPressedState
Description copied from interface:ButtonRole
- Specified by:
setAriaPressedState
in interfaceButtonRole
-