Interface GridRole

All Superinterfaces:
CompositeRole, RegionRole, Role, SectionRole, StructureRole, WidgetRole
All Known Subinterfaces:
TreegridRole
All Known Implementing Classes:
GridRoleImpl, TreegridRoleImpl

public interface GridRole extends CompositeRole, RegionRole
A type that represents the grid role in the ARIA specification.
See Also:
  • Method Details

    • getAriaLevelProperty

      String getAriaLevelProperty(Element element)
      Returns the value of the aria-level attribute for the element or "" if no such attribute is present.
    • getAriaMultiselectableProperty

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

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

      void removeAriaLevelProperty(Element element)
      Removes the aria-level attribute from the element.
    • removeAriaMultiselectableProperty

      void removeAriaMultiselectableProperty(Element element)
      Removes the aria-multiselectable attribute from the element.
    • removeAriaReadonlyProperty

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

      void setAriaLevelProperty(Element element, int value)
      Sets the aria-level attribute for the element to the given value.
    • setAriaMultiselectableProperty

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

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