Enum Class AccessibleAutocomplete

java.lang.Object
java.lang.Enum<AccessibleAutocomplete>
org.gnome.gtk.AccessibleAutocomplete
All Implemented Interfaces:
Serializable, Comparable<AccessibleAutocomplete>, Constable, Enumeration

@Generated("org.javagi.JavaGI") public enum AccessibleAutocomplete extends Enum<AccessibleAutocomplete> implements Enumeration
The possible values for the AccessibleProperty.AUTOCOMPLETE accessible property.
  • Enum Constant Details

    • NONE

      public static final AccessibleAutocomplete NONE
      Automatic suggestions are not displayed.
    • INLINE

      public static final AccessibleAutocomplete INLINE
      When a user is providing input, text suggesting one way to complete the provided input may be dynamically inserted after the caret.
    • LIST

      public static final AccessibleAutocomplete LIST
      When a user is providing input, an element containing a collection of values that could complete the provided input may be displayed.
    • BOTH

      public static final AccessibleAutocomplete BOTH
      When a user is providing input, an element containing a collection of values that could complete the provided input may be displayed. If displayed, one value in the collection is automatically selected, and the text needed to complete the automatically selected value appears after the caret in the input.
  • Method Details

    • values

      public static AccessibleAutocomplete[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AccessibleAutocomplete valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • of

      public static AccessibleAutocomplete of(int value)
      Create a new AccessibleAutocomplete for the provided value
      Parameters:
      value - the enum value
      Returns:
      the enum for the provided value
    • getValue

      public int getValue()
      Get the numeric value of this enum
      Specified by:
      getValue in interface Enumeration
      Returns:
      the enum value
    • of

      public static AccessibleAutocomplete of(MemorySegment address)
      Create a new AccessibleAutocomplete for the value in the provided memory address.
      Parameters:
      address - the memory address holding a enum value
      Returns:
      the enum for the value in the provided memory address
    • getType

      public static @Nullable Type getType()
      Get the GType of the AccessibleAutocomplete class.
      Returns:
      the GType