public enum TopOperatorAppearance extends java.lang.Enum<TopOperatorAppearance> implements ValueEnum
top-level operator
of a FilterBuilder.Enum Constant and Description |
---|
BRACKET
a SelectItem appears with a "bracket" spanning all top-level clauses, exactly the same appearance used for showing
subClauses , if enabled. |
INLINE
each line in the FilterBuilder is a top-level item, with a SelectItem shown on the left that allows the user to choose
between the main operator in force (either "and" or "or", depending on the setting of topOperator) and "and not".
|
NONE
no interface is shown.
|
RADIO
radio buttons appear at the top of the form
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getValue() |
static TopOperatorAppearance |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TopOperatorAppearance[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TopOperatorAppearance RADIO
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "radio".
public static final TopOperatorAppearance BRACKET
subClauses
, if enabled.
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "bracket".
public static final TopOperatorAppearance INLINE
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "inline".
public static final TopOperatorAppearance NONE
FilterBuilder.setTopOperator()
should be
called to update it
If this enumerated value is used in a Component XML
file or server-side DataSource descriptor (.ds.xml file), use the value "none".
public static TopOperatorAppearance[] values()
for (TopOperatorAppearance c : TopOperatorAppearance.values()) System.out.println(c);
public static TopOperatorAppearance 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