public enum LiveSearchStyle extends Enum<LiveSearchStyle>
Enum Constant and Description |
---|
CONTAINS
Search for options that contain the searched text
|
STARTS_WITH
Searching for options that start with the searched text
|
Modifier and Type | Method and Description |
---|---|
String |
getValue()
Returns the value of the live search style.
|
static LiveSearchStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LiveSearchStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LiveSearchStyle CONTAINS
public static final LiveSearchStyle STARTS_WITH
public static LiveSearchStyle[] values()
for (LiveSearchStyle c : LiveSearchStyle.values()) System.out.println(c);
public static LiveSearchStyle 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 nullCopyright © 2017. All rights reserved.