Package com.google.gwt.aria.client
Class RoleImpl
java.lang.Object
com.google.gwt.aria.client.RoleImpl
- All Implemented Interfaces:
Role
- Direct Known Subclasses:
AlertdialogRoleImpl,AlertRoleImpl,ApplicationRoleImpl,ArticleRoleImpl,BannerRoleImpl,ButtonRoleImpl,CheckboxRoleImpl,ColumnheaderRoleImpl,ComboboxRoleImpl,ComplementaryRoleImpl,ContentinfoRoleImpl,DefinitionRoleImpl,DialogRoleImpl,DirectoryRoleImpl,DocumentRoleImpl,FormRoleImpl,GridcellRoleImpl,GridRoleImpl,GroupRoleImpl,HeadingRoleImpl,ImgRoleImpl,LinkRoleImpl,ListboxRoleImpl,ListitemRoleImpl,ListRoleImpl,LogRoleImpl,MainRoleImpl,MarqueeRoleImpl,MathRoleImpl,MenubarRoleImpl,MenuitemcheckboxRoleImpl,MenuitemradioRoleImpl,MenuitemRoleImpl,MenuRoleImpl,NavigationRoleImpl,NoteRoleImpl,OptionRoleImpl,PresentationRoleImpl,ProgressbarRoleImpl,RadiogroupRoleImpl,RadioRoleImpl,RegionRoleImpl,RowgroupRoleImpl,RowheaderRoleImpl,RowRoleImpl,ScrollbarRoleImpl,SearchRoleImpl,SeparatorRoleImpl,SliderRoleImpl,SpinbuttonRoleImpl,StatusRoleImpl,TablistRoleImpl,TabpanelRoleImpl,TabRoleImpl,TextboxRoleImpl,TimerRoleImpl,ToolbarRoleImpl,TooltipRoleImpl,TreegridRoleImpl,TreeitemRoleImpl,TreeRoleImpl
The base class for implementing a Role. Includes basic operations for modifying
the "role" attribute and methods that are common to all roles.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAriaAtomicProperty(Element element) Returns the value of the aria-atomic attribute for theelementor "" if no such attribute is present.getAriaBusyState(Element element) Returns the value of the aria-busy attribute for theelementor "" if no such attribute is present.getAriaControlsProperty(Element element) Returns the value of the aria-controls attribute for theelementor "" if no such attribute is present.getAriaDescribedbyProperty(Element element) Returns the value of the aria-describedby attribute for theelementor "" if no such attribute is present.getAriaDisabledState(Element element) Returns the value of the aria-disabled attribute for theelementor "" if no such attribute is present.getAriaDropeffectProperty(Element element) Returns the value of the aria-dropeffect attribute for theelementor "" if no such attribute is present.getAriaFlowtoProperty(Element element) Returns the value of the aria-flowto attribute for theelementor "" if no such attribute is present.getAriaGrabbedState(Element element) Returns the value of the aria-grabbed attribute for theelementor "" if no such attribute is present.getAriaHaspopupProperty(Element element) Returns the value of the aria-haspopup attribute for theelementor "" if no such attribute is present.getAriaHiddenState(Element element) Returns the value of the aria-hidden attribute for theelementor "" if no such attribute is present.getAriaInvalidState(Element element) Returns the value of the aria-invalid attribute for theelementor "" if no such attribute is present.getAriaLabelledbyProperty(Element element) Returns the value of the aria-labelledby attribute for theelementor "" if no such attribute is present.getAriaLabelProperty(Element element) Returns the value of the aria-label attribute for theelementor "" if no such attribute is present.getAriaLiveProperty(Element element) Returns the value of the aria-live attribute for theelementor "" if no such attribute is present.getAriaOwnsProperty(Element element) Returns the value of the aria-owns attribute for theelementor "" if no such attribute is present.getAriaRelevantProperty(Element element) Returns the value of the aria-relevant attribute for theelementor "" if no such attribute is present.getName()Gets the ARIA 'role' attribute name as defined in the WAI-ARIA standard.getTabindexExtraAttribute(Element element) Returns the value of the tabIndex attribute for theelementor "" if no such attribute is present.voidRemoves the 'role' attribute from theelement.voidremoveAriaAtomicProperty(Element element) Removes the aria-atomic attribute from theelement.voidremoveAriaBusyState(Element element) Removes the aria-busy attribute from theelement.voidremoveAriaControlsProperty(Element element) Removes the aria-controls attribute from theelement.voidremoveAriaDescribedbyProperty(Element element) Removes the aria-describedby attribute from theelement.voidremoveAriaDisabledState(Element element) Removes the aria-disabled attribute from theelement.voidremoveAriaDropeffectProperty(Element element) Removes the aria-dropeffect attribute from theelement.voidremoveAriaFlowtoProperty(Element element) Removes the aria-flowto attribute from theelement.voidremoveAriaGrabbedState(Element element) Removes the aria-grabbed attribute from theelement.voidremoveAriaHaspopupProperty(Element element) Removes the aria-haspopup attribute from theelement.voidremoveAriaHiddenState(Element element) Removes the aria-hidden attribute from theelement.voidremoveAriaInvalidState(Element element) Removes the aria-invalid attribute from theelement.voidremoveAriaLabelledbyProperty(Element element) Removes the aria-labelledby attribute from theelement.voidremoveAriaLabelProperty(Element element) Removes the aria-label attribute from theelement.voidremoveAriaLiveProperty(Element element) Removes the aria-live attribute from theelement.voidremoveAriaOwnsProperty(Element element) Removes the aria-owns attribute from theelement.voidremoveAriaRelevantProperty(Element element) Removes the aria-relevant attribute from theelement.voidremoveTabindexExtraAttribute(Element element) Removes the tabIndex attribute from theelement.voidSets the 'role' attribute of the givenelementto the appropriate value for this role.voidsetAriaAtomicProperty(Element element, boolean value) voidsetAriaBusyState(Element element, boolean value) voidsetAriaControlsProperty(Element element, Id... value) voidsetAriaDescribedbyProperty(Element element, Id... value) voidsetAriaDisabledState(Element element, boolean value) voidsetAriaDropeffectProperty(Element element, DropeffectValue... value) voidsetAriaFlowtoProperty(Element element, Id... value) voidsetAriaGrabbedState(Element element, GrabbedValue value) voidsetAriaHaspopupProperty(Element element, boolean value) voidsetAriaHiddenState(Element element, boolean value) voidsetAriaInvalidState(Element element, InvalidValue value) voidsetAriaLabelledbyProperty(Element element, Id... value) voidsetAriaLabelProperty(Element element, String value) voidsetAriaLiveProperty(Element element, LiveValue value) voidsetAriaOwnsProperty(Element element, Id... value) voidsetAriaRelevantProperty(Element element, RelevantValue... value) voidsetTabindexExtraAttribute(Element element, int value)
-
Constructor Details
-
RoleImpl
RoleImpl(String roleName)
-
-
Method Details
-
getAriaAtomicProperty
Description copied from interface:RoleReturns the value of the aria-atomic attribute for theelementor "" if no such attribute is present.- Specified by:
getAriaAtomicPropertyin interfaceRole
-
getAriaBusyState
Description copied from interface:RoleReturns the value of the aria-busy attribute for theelementor "" if no such attribute is present.- Specified by:
getAriaBusyStatein interfaceRole
-
getAriaControlsProperty
Description copied from interface:RoleReturns the value of the aria-controls attribute for theelementor "" if no such attribute is present.- Specified by:
getAriaControlsPropertyin interfaceRole
-
getAriaDescribedbyProperty
Description copied from interface:RoleReturns the value of the aria-describedby attribute for theelementor "" if no such attribute is present.- Specified by:
getAriaDescribedbyPropertyin interfaceRole
-
getAriaDisabledState
Description copied from interface:RoleReturns the value of the aria-disabled attribute for theelementor "" if no such attribute is present.- Specified by:
getAriaDisabledStatein interfaceRole
-
getAriaDropeffectProperty
Description copied from interface:RoleReturns the value of the aria-dropeffect attribute for theelementor "" if no such attribute is present.- Specified by:
getAriaDropeffectPropertyin interfaceRole
-
getAriaFlowtoProperty
Description copied from interface:RoleReturns the value of the aria-flowto attribute for theelementor "" if no such attribute is present.- Specified by:
getAriaFlowtoPropertyin interfaceRole
-
getAriaGrabbedState
Description copied from interface:RoleReturns the value of the aria-grabbed attribute for theelementor "" if no such attribute is present.- Specified by:
getAriaGrabbedStatein interfaceRole
-
getAriaHaspopupProperty
Description copied from interface:RoleReturns the value of the aria-haspopup attribute for theelementor "" if no such attribute is present.- Specified by:
getAriaHaspopupPropertyin interfaceRole
-
getAriaHiddenState
Description copied from interface:RoleReturns the value of the aria-hidden attribute for theelementor "" if no such attribute is present.- Specified by:
getAriaHiddenStatein interfaceRole
-
getAriaInvalidState
Description copied from interface:RoleReturns the value of the aria-invalid attribute for theelementor "" if no such attribute is present.- Specified by:
getAriaInvalidStatein interfaceRole
-
getAriaLabelledbyProperty
Description copied from interface:RoleReturns the value of the aria-labelledby attribute for theelementor "" if no such attribute is present.- Specified by:
getAriaLabelledbyPropertyin interfaceRole
-
getAriaLabelProperty
Description copied from interface:RoleReturns the value of the aria-label attribute for theelementor "" if no such attribute is present.- Specified by:
getAriaLabelPropertyin interfaceRole
-
getAriaLiveProperty
Description copied from interface:RoleReturns the value of the aria-live attribute for theelementor "" if no such attribute is present.- Specified by:
getAriaLivePropertyin interfaceRole
-
getAriaOwnsProperty
Description copied from interface:RoleReturns the value of the aria-owns attribute for theelementor "" if no such attribute is present.- Specified by:
getAriaOwnsPropertyin interfaceRole
-
getAriaRelevantProperty
Description copied from interface:RoleReturns the value of the aria-relevant attribute for theelementor "" if no such attribute is present.- Specified by:
getAriaRelevantPropertyin interfaceRole
-
getName
Description copied from interface:RoleGets the ARIA 'role' attribute name as defined in the WAI-ARIA standard. -
getTabindexExtraAttribute
Description copied from interface:RoleReturns the value of the tabIndex attribute for theelementor "" if no such attribute is present.- Specified by:
getTabindexExtraAttributein interfaceRole
-
remove
Description copied from interface:RoleRemoves the 'role' attribute from theelement. -
removeAriaAtomicProperty
Description copied from interface:RoleRemoves the aria-atomic attribute from theelement.- Specified by:
removeAriaAtomicPropertyin interfaceRole
-
removeAriaBusyState
Description copied from interface:RoleRemoves the aria-busy attribute from theelement.- Specified by:
removeAriaBusyStatein interfaceRole
-
removeAriaControlsProperty
Description copied from interface:RoleRemoves the aria-controls attribute from theelement.- Specified by:
removeAriaControlsPropertyin interfaceRole
-
removeAriaDescribedbyProperty
Description copied from interface:RoleRemoves the aria-describedby attribute from theelement.- Specified by:
removeAriaDescribedbyPropertyin interfaceRole
-
removeAriaDisabledState
Description copied from interface:RoleRemoves the aria-disabled attribute from theelement.- Specified by:
removeAriaDisabledStatein interfaceRole
-
removeAriaDropeffectProperty
Description copied from interface:RoleRemoves the aria-dropeffect attribute from theelement.- Specified by:
removeAriaDropeffectPropertyin interfaceRole
-
removeAriaFlowtoProperty
Description copied from interface:RoleRemoves the aria-flowto attribute from theelement.- Specified by:
removeAriaFlowtoPropertyin interfaceRole
-
removeAriaGrabbedState
Description copied from interface:RoleRemoves the aria-grabbed attribute from theelement.- Specified by:
removeAriaGrabbedStatein interfaceRole
-
removeAriaHaspopupProperty
Description copied from interface:RoleRemoves the aria-haspopup attribute from theelement.- Specified by:
removeAriaHaspopupPropertyin interfaceRole
-
removeAriaHiddenState
Description copied from interface:RoleRemoves the aria-hidden attribute from theelement.- Specified by:
removeAriaHiddenStatein interfaceRole
-
removeAriaInvalidState
Description copied from interface:RoleRemoves the aria-invalid attribute from theelement.- Specified by:
removeAriaInvalidStatein interfaceRole
-
removeAriaLabelledbyProperty
Description copied from interface:RoleRemoves the aria-labelledby attribute from theelement.- Specified by:
removeAriaLabelledbyPropertyin interfaceRole
-
removeAriaLabelProperty
Description copied from interface:RoleRemoves the aria-label attribute from theelement.- Specified by:
removeAriaLabelPropertyin interfaceRole
-
removeAriaLiveProperty
Description copied from interface:RoleRemoves the aria-live attribute from theelement.- Specified by:
removeAriaLivePropertyin interfaceRole
-
removeAriaOwnsProperty
Description copied from interface:RoleRemoves the aria-owns attribute from theelement.- Specified by:
removeAriaOwnsPropertyin interfaceRole
-
removeAriaRelevantProperty
Description copied from interface:RoleRemoves the aria-relevant attribute from theelement.- Specified by:
removeAriaRelevantPropertyin interfaceRole
-
removeTabindexExtraAttribute
Description copied from interface:RoleRemoves the tabIndex attribute from theelement.- Specified by:
removeTabindexExtraAttributein interfaceRole
-
set
Description copied from interface:RoleSets the 'role' attribute of the givenelementto the appropriate value for this role. -
setAriaAtomicProperty
Description copied from interface:Role- Specified by:
setAriaAtomicPropertyin interfaceRole
-
setAriaBusyState
Description copied from interface:Role- Specified by:
setAriaBusyStatein interfaceRole
-
setAriaControlsProperty
Description copied from interface:Role- Specified by:
setAriaControlsPropertyin interfaceRole
-
setAriaDescribedbyProperty
Description copied from interface:Role- Specified by:
setAriaDescribedbyPropertyin interfaceRole
-
setAriaDisabledState
Description copied from interface:Role- Specified by:
setAriaDisabledStatein interfaceRole
-
setAriaDropeffectProperty
Description copied from interface:Role- Specified by:
setAriaDropeffectPropertyin interfaceRole
-
setAriaFlowtoProperty
Description copied from interface:Role- Specified by:
setAriaFlowtoPropertyin interfaceRole
-
setAriaGrabbedState
Description copied from interface:Role- Specified by:
setAriaGrabbedStatein interfaceRole
-
setAriaHaspopupProperty
Description copied from interface:Role- Specified by:
setAriaHaspopupPropertyin interfaceRole
-
setAriaHiddenState
Description copied from interface:Role- Specified by:
setAriaHiddenStatein interfaceRole
-
setAriaInvalidState
Description copied from interface:Role- Specified by:
setAriaInvalidStatein interfaceRole
-
setAriaLabelledbyProperty
Description copied from interface:Role- Specified by:
setAriaLabelledbyPropertyin interfaceRole
-
setAriaLabelProperty
Description copied from interface:Role- Specified by:
setAriaLabelPropertyin interfaceRole
-
setAriaLiveProperty
Description copied from interface:Role- Specified by:
setAriaLivePropertyin interfaceRole
-
setAriaOwnsProperty
Description copied from interface:Role- Specified by:
setAriaOwnsPropertyin interfaceRole
-
setAriaRelevantProperty
Description copied from interface:Role- Specified by:
setAriaRelevantPropertyin interfaceRole
-
setTabindexExtraAttribute
Description copied from interface:Role- Specified by:
setTabindexExtraAttributein interfaceRole
-