GWT 2.7.0

com.google.gwt.aria.client
Class MenubarRoleImpl

java.lang.Object
  extended by com.google.gwt.aria.client.RoleImpl
      extended by com.google.gwt.aria.client.MenubarRoleImpl
All Implemented Interfaces:
CompositeRole, GroupRole, InputRole, ListRole, MenubarRole, MenuRole, RegionRole, Role, SectionRole, SelectRole, StructureRole, WidgetRole

 class MenubarRoleImpl
extends RoleImpl
implements MenubarRole

Implements MenubarRole.


Constructor Summary
MenubarRoleImpl(java.lang.String roleName)
           
 
Method Summary
 java.lang.String getAriaActivedescendantProperty(Element element)
          Returns the value of the aria-activedescendant attribute for the element or "" if no such attribute is present.
 java.lang.String getAriaExpandedState(Element element)
          Returns the value of the aria-expanded attribute for the element or "" if no such attribute is present.
 void removeAriaActivedescendantProperty(Element element)
          Removes the aria-activedescendant attribute from the element.
 void removeAriaExpandedState(Element element)
          Removes the aria-expanded attribute from the element.
 void setAriaActivedescendantProperty(Element element, Id value)
          Sets the aria-activedescendant attribute for the element to the given value.
 void setAriaExpandedState(Element element, ExpandedValue value)
          Sets the aria-expanded attribute for the element to the given 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
 

Constructor Detail

MenubarRoleImpl

MenubarRoleImpl(java.lang.String roleName)
Method Detail

getAriaActivedescendantProperty

public java.lang.String getAriaActivedescendantProperty(Element element)
Description copied from interface: CompositeRole
Returns the value of the aria-activedescendant attribute for the element or "" if no such attribute is present.

Specified by:
getAriaActivedescendantProperty in interface CompositeRole
Specified by:
getAriaActivedescendantProperty in interface GroupRole

getAriaExpandedState

public java.lang.String getAriaExpandedState(Element element)
Description copied from interface: SectionRole
Returns the value of the aria-expanded attribute for the element or "" if no such attribute is present.

Specified by:
getAriaExpandedState in interface SectionRole

removeAriaActivedescendantProperty

public void removeAriaActivedescendantProperty(Element element)
Description copied from interface: CompositeRole
Removes the aria-activedescendant attribute from the element.

Specified by:
removeAriaActivedescendantProperty in interface CompositeRole
Specified by:
removeAriaActivedescendantProperty in interface GroupRole

removeAriaExpandedState

public void removeAriaExpandedState(Element element)
Description copied from interface: SectionRole
Removes the aria-expanded attribute from the element.

Specified by:
removeAriaExpandedState in interface SectionRole

setAriaActivedescendantProperty

public void setAriaActivedescendantProperty(Element element,
                                            Id value)
Description copied from interface: CompositeRole
Sets the aria-activedescendant attribute for the element to the given value.

Specified by:
setAriaActivedescendantProperty in interface CompositeRole
Specified by:
setAriaActivedescendantProperty in interface GroupRole

setAriaExpandedState

public void setAriaExpandedState(Element element,
                                 ExpandedValue value)
Description copied from interface: SectionRole
Sets the aria-expanded attribute for the element to the given value.

Specified by:
setAriaExpandedState in interface SectionRole

GWT 2.7.0