Package org.gnome.gtk
Enum Class AccessibleAutocomplete
- All Implemented Interfaces:
Serializable,Comparable<AccessibleAutocomplete>,Constable,Enumeration
@Generated("io.github.jwharm.JavaGI")
public enum AccessibleAutocomplete
extends Enum<AccessibleAutocomplete>
implements Enumeration
The possible values for the
AccessibleProperty.AUTOCOMPLETE
accessible property.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhen a user is providing input, an element containing a collection of values that could complete the provided input may be displayed.When a user is providing input, text suggesting one way to complete the provided input may be dynamically inserted after the caret.When a user is providing input, an element containing a collection of values that could complete the provided input may be displayed.Automatic suggestions are not displayed. -
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable TypegetType()Get the GType of the AccessibleAutocomplete classintgetValue()Get the numeric value of this enumstatic AccessibleAutocompleteof(int value) Create a new AccessibleAutocomplete for the provided valuestatic AccessibleAutocompleteof(MemorySegment address) Create a new AccessibleAutocomplete for the value in the provided memory address.static AccessibleAutocompleteReturns the enum constant of this class with the specified name.static AccessibleAutocomplete[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
NONE
Automatic suggestions are not displayed. -
INLINE
When a user is providing input, text suggesting one way to complete the provided input may be dynamically inserted after the caret. -
LIST
When a user is providing input, an element containing a collection of values that could complete the provided input may be displayed. -
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
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
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 nameNullPointerException- if the argument is null
-
of
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:
getValuein interfaceEnumeration- Returns:
- the enum value
-
of
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
Get the GType of the AccessibleAutocomplete class- Returns:
- the GType
-