public enum AutoSelectionPolicy extends java.lang.Enum<AutoSelectionPolicy>
Enum Constant and Description |
---|
FIRST_ELEMENT
Auto-selects the first element of a list when the list changes
|
LAST_ELEMENT
Auto-selects the last element of a list when the list changes
|
OFF
No Auto-selection.
|
PREVIOUS_SELECTED
Auto-selects the element of the previous selection if possible or nothing if the previous element doesn't exist in the
elements
|
PREVIOUS_SELECTED_OR_FIRST
Auto-selects the element of the previous selection if possible or the last element of a list when the list changes
|
PREVIOUS_SELECTED_OR_LAST
Auto-selects the element of the previous selection if possible or the first element of a list when the list changes
|
Modifier and Type | Method and Description |
---|---|
static AutoSelectionPolicy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AutoSelectionPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AutoSelectionPolicy FIRST_ELEMENT
public static final AutoSelectionPolicy LAST_ELEMENT
public static final AutoSelectionPolicy PREVIOUS_SELECTED_OR_LAST
public static final AutoSelectionPolicy PREVIOUS_SELECTED_OR_FIRST
public static final AutoSelectionPolicy PREVIOUS_SELECTED
public static final AutoSelectionPolicy OFF
public static AutoSelectionPolicy[] values()
for (AutoSelectionPolicy c : AutoSelectionPolicy.values()) System.out.println(c);
public static AutoSelectionPolicy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullSiehe auch Jowidgets Nutzerhandbuch