public static enum Table.HeaderType extends java.lang.Enum<Table.HeaderType>
Enum Constant and Description |
---|
BOTH
Treat both, the first row and the first column as headers
|
HORIZONTAL
Treat the first row as a header
|
NONE
The table has no header
|
VERTICAL
Treat the first column as a header
|
Modifier and Type | Method and Description |
---|---|
boolean |
isHorizontal() |
boolean |
isVertical() |
static Table.HeaderType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Table.HeaderType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Table.HeaderType NONE
public static final Table.HeaderType HORIZONTAL
public static final Table.HeaderType VERTICAL
public static final Table.HeaderType BOTH
public static Table.HeaderType[] values()
for (Table.HeaderType c : Table.HeaderType.values()) System.out.println(c);
public static Table.HeaderType 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 nullpublic boolean isHorizontal()
public boolean isVertical()