public static enum SearchField.TypingDelay extends java.lang.Enum<SearchField.TypingDelay>
style
of a
SearchField
is SearchField.Style.FILTER
, searching is triggered
on a delay after the user stops typing. Set the
typingDelay
property
to control the length of this delay.Enum Constant and Description |
---|
FAST
The FAST mode provides an almost immediate experience as the user
types characters.
|
SLOW
The SLOW mode waits longer before triggering search to avoid triggering
search too often as the user types.
|
Modifier and Type | Method and Description |
---|---|
static SearchField.TypingDelay |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SearchField.TypingDelay[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchField.TypingDelay FAST
public static final SearchField.TypingDelay SLOW
public static SearchField.TypingDelay[] values()
for (SearchField.TypingDelay c : SearchField.TypingDelay.values()) System.out.println(c);
public static SearchField.TypingDelay 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