|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Table.HeaderType> com.tngtech.jgiven.annotation.Table.HeaderType
public static enum Table.HeaderType
Enum Constant Summary | |
---|---|
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 |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Table.HeaderType NONE
public static final Table.HeaderType HORIZONTAL
public static final Table.HeaderType VERTICAL
public static final Table.HeaderType BOTH
Method Detail |
---|
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 name
java.lang.NullPointerException
- if the argument is nullpublic boolean isHorizontal()
public boolean isVertical()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |