com.byteslooser.filters.gui
Enum TableFilterHeader.EditorMode
java.lang.Object
java.lang.Enum<TableFilterHeader.EditorMode>
com.byteslooser.filters.gui.TableFilterHeader.EditorMode
- All Implemented Interfaces:
- Serializable, Comparable<TableFilterHeader.EditorMode>
- Enclosing class:
- TableFilterHeader
public static enum TableFilterHeader.EditorMode
- extends Enum<TableFilterHeader.EditorMode>
Editor mode for the filter editors associated to each column
- NULL: no default filter.
- SLIM: text-based, based on text field.
- BASIC: like SLIM, but based on combobox. This is the default mode.
- CHOICE: combobox where user can only select one of the provided expressions.
- Author:
- Luis M Pena - byteslooser@gmail.com
NULL
public static final TableFilterHeader.EditorMode NULL
SLIM
public static final TableFilterHeader.EditorMode SLIM
BASIC
public static final TableFilterHeader.EditorMode BASIC
CHOICE
public static final TableFilterHeader.EditorMode CHOICE
values
public static TableFilterHeader.EditorMode[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (TableFilterHeader.EditorMode c : TableFilterHeader.EditorMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static TableFilterHeader.EditorMode valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null