public static enum RichInputSearch.ContentMode extends Enum<RichInputSearch.ContentMode>
| Enum Constant and Description |
|---|
LIST
Suggestions will be displayed in a list view in the suggestions panel
|
TABLE
Suggestions will be displayed in a tabular view in the suggestions panel
|
| Modifier and Type | Method and Description |
|---|---|
String |
displayName()
Retrieves the display name for the ContentMode constant
|
static RichInputSearch.ContentMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RichInputSearch.ContentMode |
valueOfDisplayName(String displayName)
Returns the ContentMode constant associated with the specified displayName.
|
static RichInputSearch.ContentMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RichInputSearch.ContentMode LIST
public static final RichInputSearch.ContentMode TABLE
public static RichInputSearch.ContentMode[] values()
for (RichInputSearch.ContentMode c : RichInputSearch.ContentMode.values()) System.out.println(c);
public static RichInputSearch.ContentMode 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 nullpublic String displayName()
public static RichInputSearch.ContentMode valueOfDisplayName(String displayName)
displayName - the displayName to look upIllegalArgumentException - if the displayName does not correspond to a
ContentMode constant.