Enum AutoCompleteSettings.KeyTabBehavior
- java.lang.Object
-
- java.lang.Enum<AutoCompleteSettings.KeyTabBehavior>
-
- org.apache.wicket.extensions.ajax.markup.html.autocomplete.AutoCompleteSettings.KeyTabBehavior
-
- All Implemented Interfaces:
Serializable,Comparable<AutoCompleteSettings.KeyTabBehavior>
- Enclosing class:
- AutoCompleteSettings
public static enum AutoCompleteSettings.KeyTabBehavior extends Enum<AutoCompleteSettings.KeyTabBehavior>
A behavior that can be used to control how the Tab key should be handled when having an item in the autocomplete list is marked.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description SELECT_FOCUS_INPUTSelect the currently marked item and move the focus to the auto complete input field.SELECT_FOCUS_NEXT_ELEMENTSelect the currently marked item and move the focus to the next focusable element.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetValue()static AutoCompleteSettings.KeyTabBehaviorvalueOf(String name)Returns the enum constant of this type with the specified name.static AutoCompleteSettings.KeyTabBehavior[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SELECT_FOCUS_NEXT_ELEMENT
public static final AutoCompleteSettings.KeyTabBehavior SELECT_FOCUS_NEXT_ELEMENT
Select the currently marked item and move the focus to the next focusable element.
-
SELECT_FOCUS_INPUT
public static final AutoCompleteSettings.KeyTabBehavior SELECT_FOCUS_INPUT
Select the currently marked item and move the focus to the auto complete input field.
-
-
Method Detail
-
values
public static AutoCompleteSettings.KeyTabBehavior[] 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 (AutoCompleteSettings.KeyTabBehavior c : AutoCompleteSettings.KeyTabBehavior.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AutoCompleteSettings.KeyTabBehavior 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
-
-