public enum SearchEditorMode extends java.lang.Enum<SearchEditorMode> implements ValueEnum
SavedSearchEditor
.Enum Constant and Description |
---|
GRID
the editor shows only a field for naming (or renaming) a search, since the grid has built-in interfaces for editing
criteria
|
NORMAL
the editor shows a
FilterBuilder for editing criteria |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static SearchEditorMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SearchEditorMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SearchEditorMode NORMAL
FilterBuilder
for editing criteria
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "normal".
public static final SearchEditorMode GRID
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "grid".
public static SearchEditorMode[] values()
for (SearchEditorMode c : SearchEditorMode.values()) System.out.println(c);
public static SearchEditorMode 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