Class Id

java.lang.Object
com.google.gwt.aria.client.Id
All Implemented Interfaces:
AriaAttributeType

public class Id extends Object implements AriaAttributeType
Id reference attribute type
  • Method Details

    • of

      public static Id of(Element element)
      Creates an Id instance for the element by getting the element 'id' attribute.
      Parameters:
      element - A DOM element which should have a non empty, unique 'id' attribute set.
    • of

      public static Id of(String elementId)
      Creates an Id instance from the elementId.
      Parameters:
      elementId - A string identifier that should correspond to the 'id' attribute value of a DOM element.
    • getAriaValue

      public String getAriaValue()
      Specified by:
      getAriaValue in interface AriaAttributeType