Package com.google.gwt.aria.client
Class ListboxRoleImpl
- java.lang.Object
-
- com.google.gwt.aria.client.RoleImpl
-
- com.google.gwt.aria.client.ListboxRoleImpl
-
- All Implemented Interfaces:
CompositeRole
,GroupRole
,InputRole
,ListboxRole
,ListRole
,RegionRole
,Role
,SectionRole
,SelectRole
,StructureRole
,WidgetRole
class ListboxRoleImpl extends RoleImpl implements ListboxRole
Implements
ListboxRole
.
-
-
Constructor Summary
Constructors Constructor Description ListboxRoleImpl(java.lang.String roleName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAriaActivedescendantProperty(Element element)
Returns the value of the aria-activedescendant attribute for theelement
or "" if no such attribute is present.java.lang.String
getAriaExpandedState(Element element)
Returns the value of the aria-expanded attribute for theelement
or "" if no such attribute is present.java.lang.String
getAriaMultiselectableProperty(Element element)
Returns the value of the aria-multiselectable attribute for theelement
or "" if no such attribute is present.java.lang.String
getAriaRequiredProperty(Element element)
Returns the value of the aria-required attribute for theelement
or "" if no such attribute is present.void
removeAriaActivedescendantProperty(Element element)
Removes the aria-activedescendant attribute from theelement
.void
removeAriaExpandedState(Element element)
Removes the aria-expanded attribute from theelement
.void
removeAriaMultiselectableProperty(Element element)
Removes the aria-multiselectable attribute from theelement
.void
removeAriaRequiredProperty(Element element)
Removes the aria-required attribute from theelement
.void
setAriaActivedescendantProperty(Element element, Id value)
void
setAriaExpandedState(Element element, ExpandedValue value)
void
setAriaMultiselectableProperty(Element element, boolean value)
void
setAriaRequiredProperty(Element element, boolean 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
-
-
-
-
Method Detail
-
getAriaActivedescendantProperty
public java.lang.String getAriaActivedescendantProperty(Element element)
Description copied from interface:CompositeRole
Returns the value of the aria-activedescendant attribute for theelement
or "" if no such attribute is present.- Specified by:
getAriaActivedescendantProperty
in interfaceCompositeRole
- Specified by:
getAriaActivedescendantProperty
in interfaceGroupRole
-
getAriaExpandedState
public java.lang.String getAriaExpandedState(Element element)
Description copied from interface:SectionRole
Returns the value of the aria-expanded attribute for theelement
or "" if no such attribute is present.- Specified by:
getAriaExpandedState
in interfaceSectionRole
-
getAriaMultiselectableProperty
public java.lang.String getAriaMultiselectableProperty(Element element)
Description copied from interface:ListboxRole
Returns the value of the aria-multiselectable attribute for theelement
or "" if no such attribute is present.- Specified by:
getAriaMultiselectableProperty
in interfaceListboxRole
-
getAriaRequiredProperty
public java.lang.String getAriaRequiredProperty(Element element)
Description copied from interface:ListboxRole
Returns the value of the aria-required attribute for theelement
or "" if no such attribute is present.- Specified by:
getAriaRequiredProperty
in interfaceListboxRole
-
removeAriaActivedescendantProperty
public void removeAriaActivedescendantProperty(Element element)
Description copied from interface:CompositeRole
Removes the aria-activedescendant attribute from theelement
.- Specified by:
removeAriaActivedescendantProperty
in interfaceCompositeRole
- Specified by:
removeAriaActivedescendantProperty
in interfaceGroupRole
-
removeAriaExpandedState
public void removeAriaExpandedState(Element element)
Description copied from interface:SectionRole
Removes the aria-expanded attribute from theelement
.- Specified by:
removeAriaExpandedState
in interfaceSectionRole
-
removeAriaMultiselectableProperty
public void removeAriaMultiselectableProperty(Element element)
Description copied from interface:ListboxRole
Removes the aria-multiselectable attribute from theelement
.- Specified by:
removeAriaMultiselectableProperty
in interfaceListboxRole
-
removeAriaRequiredProperty
public void removeAriaRequiredProperty(Element element)
Description copied from interface:ListboxRole
Removes the aria-required attribute from theelement
.- Specified by:
removeAriaRequiredProperty
in interfaceListboxRole
-
setAriaActivedescendantProperty
public void setAriaActivedescendantProperty(Element element, Id value)
Description copied from interface:CompositeRole
- Specified by:
setAriaActivedescendantProperty
in interfaceCompositeRole
- Specified by:
setAriaActivedescendantProperty
in interfaceGroupRole
-
setAriaExpandedState
public void setAriaExpandedState(Element element, ExpandedValue value)
Description copied from interface:SectionRole
- Specified by:
setAriaExpandedState
in interfaceSectionRole
-
setAriaMultiselectableProperty
public void setAriaMultiselectableProperty(Element element, boolean value)
Description copied from interface:ListboxRole
- Specified by:
setAriaMultiselectableProperty
in interfaceListboxRole
-
setAriaRequiredProperty
public void setAriaRequiredProperty(Element element, boolean value)
Description copied from interface:ListboxRole
- Specified by:
setAriaRequiredProperty
in interfaceListboxRole
-
-