Interface TreeRole

All Superinterfaces:
CompositeRole, GroupRole, InputRole, Role, SectionRole, SelectRole, StructureRole, WidgetRole
All Known Subinterfaces:
TreegridRole
All Known Implementing Classes:
TreegridRoleImpl, TreeRoleImpl

public interface TreeRole extends SelectRole
A type that represents the tree role in the ARIA specification.
See Also:
  • Method Details

    • getAriaMultiselectableProperty

      String getAriaMultiselectableProperty(Element element)
      Returns the value of the aria-multiselectable 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.
    • removeAriaMultiselectableProperty

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

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

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