public enum SuggestMode extends Enum<SuggestMode>
Enum Constant and Description |
---|
APPEND
Only one suggestion is shows as colored text, which is directly appended to the text input.
|
SUGGEST
Suggestions are shown in drop-down.
|
SUGGEST_APPEND
Both drop-down is shown and first suggestion is appened to the text input.
|
Modifier and Type | Method and Description |
---|---|
static SuggestMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SuggestMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SuggestMode SUGGEST
public static final SuggestMode APPEND
public static final SuggestMode SUGGEST_APPEND
public static SuggestMode[] values()
for (SuggestMode c : SuggestMode.values()) System.out.println(c);
public static SuggestMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null