net.coderazzi.filters.gui
Enum TableFilterHeader.Position
java.lang.Object
java.lang.Enum<TableFilterHeader.Position>
net.coderazzi.filters.gui.TableFilterHeader.Position
- All Implemented Interfaces:
- Serializable, Comparable<TableFilterHeader.Position>
- Enclosing class:
- TableFilterHeader
public static enum TableFilterHeader.Position
- extends Enum<TableFilterHeader.Position>
Location of the header in relation to the table
Note that this location is only meaningful when the table is set
inside a scroll pane, and this header instance is not explicitly included
in a container
- TOP: the filter is placed automatically above the table
header.
- INLINE: the filter is placed below the table header, above the
table's content.
- NONE: the filter is not automatically placed.
- Author:
- Luis M Pena - lu@coderazzi.net
TOP
public static final TableFilterHeader.Position TOP
INLINE
public static final TableFilterHeader.Position INLINE
NONE
public static final TableFilterHeader.Position NONE
values
public static TableFilterHeader.Position[] 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.Position c : TableFilterHeader.Position.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.Position 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