Package com.google.gwt.aria.client
Class TreeitemRoleImpl
- java.lang.Object
-
- com.google.gwt.aria.client.RoleImpl
-
- com.google.gwt.aria.client.TreeitemRoleImpl
-
- All Implemented Interfaces:
InputRole
,ListitemRole
,OptionRole
,Role
,SectionRole
,StructureRole
,TreeitemRole
,WidgetRole
class TreeitemRoleImpl extends RoleImpl implements TreeitemRole
Implements
TreeitemRole
.
-
-
Constructor Summary
Constructors Constructor Description TreeitemRoleImpl(java.lang.String roleName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getAriaCheckedState(Element element)
Returns the value of the aria-checked 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
getAriaLevelProperty(Element element)
Returns the value of the aria-level attribute for theelement
or "" if no such attribute is present.java.lang.String
getAriaPosinsetProperty(Element element)
Returns the value of the aria-posinset attribute for theelement
or "" if no such attribute is present.java.lang.String
getAriaSelectedState(Element element)
Returns the value of the aria-selected attribute for theelement
or "" if no such attribute is present.java.lang.String
getAriaSetsizeProperty(Element element)
Returns the value of the aria-setsize attribute for theelement
or "" if no such attribute is present.void
removeAriaCheckedState(Element element)
Removes the aria-checked attribute from theelement
.void
removeAriaExpandedState(Element element)
Removes the aria-expanded attribute from theelement
.void
removeAriaLevelProperty(Element element)
Removes the aria-level attribute from theelement
.void
removeAriaPosinsetProperty(Element element)
Removes the aria-posinset attribute from theelement
.void
removeAriaSelectedState(Element element)
Removes the aria-selected attribute from theelement
.void
removeAriaSetsizeProperty(Element element)
Removes the aria-setsize attribute from theelement
.void
setAriaCheckedState(Element element, CheckedValue value)
void
setAriaExpandedState(Element element, ExpandedValue value)
void
setAriaLevelProperty(Element element, int value)
void
setAriaPosinsetProperty(Element element, int value)
void
setAriaSelectedState(Element element, SelectedValue value)
void
setAriaSetsizeProperty(Element element, int 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
-
getAriaCheckedState
public java.lang.String getAriaCheckedState(Element element)
Description copied from interface:OptionRole
Returns the value of the aria-checked attribute for theelement
or "" if no such attribute is present.- Specified by:
getAriaCheckedState
in interfaceOptionRole
-
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
-
getAriaLevelProperty
public java.lang.String getAriaLevelProperty(Element element)
Description copied from interface:ListitemRole
Returns the value of the aria-level attribute for theelement
or "" if no such attribute is present.- Specified by:
getAriaLevelProperty
in interfaceListitemRole
-
getAriaPosinsetProperty
public java.lang.String getAriaPosinsetProperty(Element element)
Description copied from interface:ListitemRole
Returns the value of the aria-posinset attribute for theelement
or "" if no such attribute is present.- Specified by:
getAriaPosinsetProperty
in interfaceListitemRole
- Specified by:
getAriaPosinsetProperty
in interfaceOptionRole
-
getAriaSelectedState
public java.lang.String getAriaSelectedState(Element element)
Description copied from interface:OptionRole
Returns the value of the aria-selected attribute for theelement
or "" if no such attribute is present.- Specified by:
getAriaSelectedState
in interfaceOptionRole
-
getAriaSetsizeProperty
public java.lang.String getAriaSetsizeProperty(Element element)
Description copied from interface:ListitemRole
Returns the value of the aria-setsize attribute for theelement
or "" if no such attribute is present.- Specified by:
getAriaSetsizeProperty
in interfaceListitemRole
- Specified by:
getAriaSetsizeProperty
in interfaceOptionRole
-
removeAriaCheckedState
public void removeAriaCheckedState(Element element)
Description copied from interface:OptionRole
Removes the aria-checked attribute from theelement
.- Specified by:
removeAriaCheckedState
in interfaceOptionRole
-
removeAriaExpandedState
public void removeAriaExpandedState(Element element)
Description copied from interface:SectionRole
Removes the aria-expanded attribute from theelement
.- Specified by:
removeAriaExpandedState
in interfaceSectionRole
-
removeAriaLevelProperty
public void removeAriaLevelProperty(Element element)
Description copied from interface:ListitemRole
Removes the aria-level attribute from theelement
.- Specified by:
removeAriaLevelProperty
in interfaceListitemRole
-
removeAriaPosinsetProperty
public void removeAriaPosinsetProperty(Element element)
Description copied from interface:ListitemRole
Removes the aria-posinset attribute from theelement
.- Specified by:
removeAriaPosinsetProperty
in interfaceListitemRole
- Specified by:
removeAriaPosinsetProperty
in interfaceOptionRole
-
removeAriaSelectedState
public void removeAriaSelectedState(Element element)
Description copied from interface:OptionRole
Removes the aria-selected attribute from theelement
.- Specified by:
removeAriaSelectedState
in interfaceOptionRole
-
removeAriaSetsizeProperty
public void removeAriaSetsizeProperty(Element element)
Description copied from interface:ListitemRole
Removes the aria-setsize attribute from theelement
.- Specified by:
removeAriaSetsizeProperty
in interfaceListitemRole
- Specified by:
removeAriaSetsizeProperty
in interfaceOptionRole
-
setAriaCheckedState
public void setAriaCheckedState(Element element, CheckedValue value)
Description copied from interface:OptionRole
- Specified by:
setAriaCheckedState
in interfaceOptionRole
-
setAriaExpandedState
public void setAriaExpandedState(Element element, ExpandedValue value)
Description copied from interface:SectionRole
- Specified by:
setAriaExpandedState
in interfaceSectionRole
-
setAriaLevelProperty
public void setAriaLevelProperty(Element element, int value)
Description copied from interface:ListitemRole
- Specified by:
setAriaLevelProperty
in interfaceListitemRole
-
setAriaPosinsetProperty
public void setAriaPosinsetProperty(Element element, int value)
Description copied from interface:ListitemRole
- Specified by:
setAriaPosinsetProperty
in interfaceListitemRole
- Specified by:
setAriaPosinsetProperty
in interfaceOptionRole
-
setAriaSelectedState
public void setAriaSelectedState(Element element, SelectedValue value)
Description copied from interface:OptionRole
- Specified by:
setAriaSelectedState
in interfaceOptionRole
-
setAriaSetsizeProperty
public void setAriaSetsizeProperty(Element element, int value)
Description copied from interface:ListitemRole
- Specified by:
setAriaSetsizeProperty
in interfaceListitemRole
- Specified by:
setAriaSetsizeProperty
in interfaceOptionRole
-
-