All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.hubspot.chrome.devtools.client.core.accessibility.AXPropertyName Maven / Gradle / Ivy

package com.hubspot.chrome.devtools.client.core.accessibility;

import com.fasterxml.jackson.annotation.JsonValue;

/**
 * Values of AXProperty name: from 'busy' to 'roledescription' - states which apply to every AX
 * node, from 'live' to 'root' - attributes which apply to nodes in live regions, from
 * 'autocomplete' to 'valuetext' - attributes which apply to widgets, from 'checked' to 'selected'
 * - states which apply to widgets, from 'activedescendant' to 'owns' - relationships between
 * elements other than parent/child/sibling.
 */
public enum AXPropertyName {
  BUSY("busy"),

  DISABLED("disabled"),

  HIDDEN("hidden"),

  HIDDEN_ROOT("hiddenRoot"),

  INVALID("invalid"),

  KEYSHORTCUTS("keyshortcuts"),

  ROLEDESCRIPTION("roledescription"),

  LIVE("live"),

  ATOMIC("atomic"),

  RELEVANT("relevant"),

  ROOT("root"),

  AUTOCOMPLETE("autocomplete"),

  HASPOPUP("haspopup"),

  LEVEL("level"),

  MULTISELECTABLE("multiselectable"),

  ORIENTATION("orientation"),

  MULTILINE("multiline"),

  READONLY("readonly"),

  REQUIRED("required"),

  VALUEMIN("valuemin"),

  VALUEMAX("valuemax"),

  VALUETEXT("valuetext"),

  CHECKED("checked"),

  EXPANDED("expanded"),

  MODAL("modal"),

  PRESSED("pressed"),

  SELECTED("selected"),

  ACTIVEDESCENDANT("activedescendant"),

  CONTROLS("controls"),

  DESCRIBEDBY("describedby"),

  DETAILS("details"),

  ERRORMESSAGE("errormessage"),

  FLOWTO("flowto"),

  LABELLEDBY("labelledby"),

  OWNS("owns");

  private final String value;

  AXPropertyName(String value) {
    this.value= value;
  }

  @JsonValue
  public String getValue() {
    return value;
  }

  @Override
  public String toString() {
    return value;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy