public enum LookupFocusDegree extends java.lang.Enum<LookupFocusDegree>
Enum Constant and Description |
---|
FOCUSED
The top lookup item matching the prefix is preselected and is inserted on `enter`,
`tab`, or other context-dependent keys like space or dot.
|
SEMI_FOCUSED
Similar to
FOCUSED but the top matching lookup item is not inserted on
context-dependent keys. |
UNFOCUSED
The top lookup item matching the prefix is not preselected.
|
Modifier and Type | Method and Description |
---|---|
static LookupFocusDegree |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LookupFocusDegree[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LookupFocusDegree FOCUSED
public static final LookupFocusDegree SEMI_FOCUSED
public static final LookupFocusDegree UNFOCUSED
public static LookupFocusDegree[] values()
for (LookupFocusDegree c : LookupFocusDegree.values()) System.out.println(c);
public static LookupFocusDegree 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 null