Class AriaValueAttribute<T extends AriaAttributeType>

java.lang.Object
com.google.gwt.aria.client.Attribute<T>
com.google.gwt.aria.client.AriaValueAttribute<T>

class AriaValueAttribute<T extends AriaAttributeType> extends Attribute<T>
ARIA specific type attribute.
  • Constructor Details

    • AriaValueAttribute

      public AriaValueAttribute(String name, String defaultValue)
    • AriaValueAttribute

      public AriaValueAttribute(String name)
  • Method Details

    • getSingleValue

      protected String getSingleValue(T value)
      Description copied from class: Attribute
      Gets the string representation of value to be set as an attribute value to an HTML element.
      Specified by:
      getSingleValue in class Attribute<T extends AriaAttributeType>
      Parameters:
      value - The item to be stringified
      Returns:
      the stringified representation of value