GWT 2.7.0

com.google.gwt.aria.client
Class ButtonRoleImpl

java.lang.Object
  extended by com.google.gwt.aria.client.RoleImpl
      extended by com.google.gwt.aria.client.ButtonRoleImpl
All Implemented Interfaces:
ButtonRole, CommandRole, Role, WidgetRole

 class ButtonRoleImpl
extends RoleImpl
implements ButtonRole

Implements ButtonRole.


Constructor Summary
ButtonRoleImpl(java.lang.String roleName)
           
 
Method Summary
 java.lang.String getAriaExpandedState(Element element)
          Returns the value of the aria-expanded attribute for the element or "" if no such attribute is present.
 java.lang.String getAriaPressedState(Element element)
          Returns the value of the aria-pressed attribute for the element or "" if no such attribute is present.
 void removeAriaExpandedState(Element element)
          Removes the aria-expanded attribute from the element.
 void removeAriaPressedState(Element element)
          Removes the aria-pressed attribute from the element.
 void setAriaExpandedState(Element element, ExpandedValue value)
          Sets the aria-expanded attribute for the element to the given value.
 void setAriaPressedState(Element element, PressedValue value)
          Sets the aria-pressed 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
 
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 Detail

ButtonRoleImpl

ButtonRoleImpl(java.lang.String roleName)
Method Detail

getAriaExpandedState

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

Specified by:
getAriaExpandedState in interface ButtonRole

getAriaPressedState

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

Specified by:
getAriaPressedState in interface ButtonRole

removeAriaExpandedState

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

Specified by:
removeAriaExpandedState in interface ButtonRole

removeAriaPressedState

public void removeAriaPressedState(Element element)
Description copied from interface: ButtonRole
Removes the aria-pressed attribute from the element.

Specified by:
removeAriaPressedState in interface ButtonRole

setAriaExpandedState

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

Specified by:
setAriaExpandedState in interface ButtonRole

setAriaPressedState

public void setAriaPressedState(Element element,
                                PressedValue value)
Description copied from interface: ButtonRole
Sets the aria-pressed attribute for the element to the given value.

Specified by:
setAriaPressedState in interface ButtonRole

GWT 2.7.0