Interface GridcellRole

All Superinterfaces:
Role, SectionRole, StructureRole, WidgetRole
All Known Subinterfaces:
ColumnheaderRole, RowheaderRole
All Known Implementing Classes:
ColumnheaderRoleImpl, GridcellRoleImpl, RowheaderRoleImpl

public interface GridcellRole extends SectionRole, WidgetRole
A type that represents the gridcell role in the ARIA specification.
See Also:
  • Method Details

    • getAriaReadonlyProperty

      String getAriaReadonlyProperty(Element element)
      Returns the value of the aria-readonly attribute for the element or "" if no such attribute is present.
    • getAriaRequiredProperty

      String getAriaRequiredProperty(Element element)
      Returns the value of the aria-required attribute for the element or "" if no such attribute is present.
    • getAriaSelectedState

      String getAriaSelectedState(Element element)
      Returns the value of the aria-selected attribute for the element or "" if no such attribute is present.
    • removeAriaReadonlyProperty

      void removeAriaReadonlyProperty(Element element)
      Removes the aria-readonly attribute from the element.
    • removeAriaRequiredProperty

      void removeAriaRequiredProperty(Element element)
      Removes the aria-required attribute from the element.
    • removeAriaSelectedState

      void removeAriaSelectedState(Element element)
      Removes the aria-selected attribute from the element.
    • setAriaReadonlyProperty

      void setAriaReadonlyProperty(Element element, boolean value)
      Sets the aria-readonly attribute for the element to the given value.
    • setAriaRequiredProperty

      void setAriaRequiredProperty(Element element, boolean value)
      Sets the aria-required 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.