Module com.gluonhq.charm.glisten
Enum AutoCompleteTextField.CompleterMode
- java.lang.Object
-
- java.lang.Enum<AutoCompleteTextField.CompleterMode>
-
- com.gluonhq.charm.glisten.control.AutoCompleteTextField.CompleterMode
-
- All Implemented Interfaces:
Serializable
,Comparable<AutoCompleteTextField.CompleterMode>
- Enclosing class:
- AutoCompleteTextField<T>
public static enum AutoCompleteTextField.CompleterMode extends Enum<AutoCompleteTextField.CompleterMode>
Enumeration that specifies the type of search being used by the AutoCompleteTextField.- Since:
- 2.2.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SEARCH_AUTOMATICALLY
Search for auto-complete suggestions will be called automatically.SEARCH_ON_REQUEST
Search for auto-complete suggestions will be called on-demand by the programmer.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AutoCompleteTextField.CompleterMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static AutoCompleteTextField.CompleterMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SEARCH_AUTOMATICALLY
public static final AutoCompleteTextField.CompleterMode SEARCH_AUTOMATICALLY
Search for auto-complete suggestions will be called automatically.
-
SEARCH_ON_REQUEST
public static final AutoCompleteTextField.CompleterMode SEARCH_ON_REQUEST
Search for auto-complete suggestions will be called on-demand by the programmer.
-
-
Method Detail
-
values
public static AutoCompleteTextField.CompleterMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AutoCompleteTextField.CompleterMode c : AutoCompleteTextField.CompleterMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AutoCompleteTextField.CompleterMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-