GWT 2.7.0

## com.google.gwt.aria.client
Interface OptionRole

All Superinterfaces:
  InputRole, Role, WidgetRole

All Known Subinterfaces:
  MenuitemradioRole, RadioRole, TreeitemRole

All Known Implementing Classes:
  MenuitemradioRoleImpl, OptionRoleImpl, RadioRoleImpl, TreeitemRoleImpl

    public interface OptionRole

extends InputRole

A type that represents the option role in the ARIA specification.

See Also:
  `Role`, `Roles`

Method Summary
`java.lang.String` | `getAriaCheckedState(Element element)` Returns the value of the aria-checked attribute for the `element` or "" if no such attribute is present.
`java.lang.String` | `getAriaPosinsetProperty(Element element)` Returns the value of the aria-posinset attribute for the `element` or "" if no such attribute is present.
`java.lang.String` | `getAriaSelectedState(Element element)` Returns the value of the aria-selected attribute for the `element` or "" if no such attribute is present.
`java.lang.String` | `getAriaSetsizeProperty(Element element)` Returns the value of the aria-setsize attribute for the `element` or "" if no such attribute is present.
`void` | `removeAriaCheckedState(Element element)` Removes the aria-checked attribute from the `element`.
`void` | `removeAriaPosinsetProperty(Element element)` Removes the aria-posinset attribute from the `element`.
`void` | `removeAriaSelectedState(Element element)` Removes the aria-selected attribute from the `element`.
`void` | `removeAriaSetsizeProperty(Element element)` Removes the aria-setsize attribute from the `element`.
`void` | `setAriaCheckedState(Element element, CheckedValue value)` Sets the aria-checked attribute for the `element` to the given `value`.
`void` | `setAriaPosinsetProperty(Element element, int value)` Sets the aria-posinset attribute for the `element` to the given `value`.
`void` | `setAriaSelectedState(Element element, SelectedValue value)` Sets the aria-selected attribute for the `element` to the given `value`.
`void` | `setAriaSetsizeProperty(Element element, int value)` Sets the aria-setsize attribute for the `element` to the given `value`.

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

    java.lang.String getAriaCheckedState(Element element)

  Returns the value of the aria-checked attribute for the `element` or "" if no such attribute is present.

### getAriaPosinsetProperty

    java.lang.String getAriaPosinsetProperty(Element element)

  Returns the value of the aria-posinset attribute for the `element` or "" if no such attribute is present.

### getAriaSelectedState

    java.lang.String getAriaSelectedState(Element element)

  Returns the value of the aria-selected attribute for the `element` or "" if no such attribute is present.

### getAriaSetsizeProperty

    java.lang.String getAriaSetsizeProperty(Element element)

  Returns the value of the aria-setsize attribute for the `element` or "" if no such attribute is present.

### removeAriaCheckedState

    void removeAriaCheckedState(Element element)

  Removes the aria-checked attribute from the `element`.

### removeAriaPosinsetProperty

    void removeAriaPosinsetProperty(Element element)

  Removes the aria-posinset attribute from the `element`.

### removeAriaSelectedState

    void removeAriaSelectedState(Element element)

  Removes the aria-selected attribute from the `element`.

### removeAriaSetsizeProperty

    void removeAriaSetsizeProperty(Element element)

  Removes the aria-setsize attribute from the `element`.

### setAriaCheckedState

    void setAriaCheckedState(Element element,
                             CheckedValue value)

  Sets the aria-checked attribute for the `element` to the given `value`.

### setAriaPosinsetProperty

    void setAriaPosinsetProperty(Element element,
                                 int value)

  Sets the aria-posinset attribute for the `element` to the given `value`.

### setAriaSelectedState

    void setAriaSelectedState(Element element,
                              SelectedValue value)

  Sets the aria-selected attribute for the `element` to the given `value`.

### setAriaSetsizeProperty

    void setAriaSetsizeProperty(Element element,
                                int value)

  Sets the aria-setsize attribute for the `element` to the given `value`.

GWT 2.7.0