public enum BoardType extends Enum<BoardType>
Enum Constant and Description |
---|
BELOW_NAME |
LIST |
SIDEBAR |
Modifier and Type | Method and Description |
---|---|
byte |
asByte()
Returns the
byte value of the BoardType |
static BoardType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoardType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BoardType BELOW_NAME
public static BoardType[] values()
for (BoardType c : BoardType.values()) System.out.println(c);
public static BoardType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic byte asByte()
byte
value of the BoardTypebyte
value of the BoardTypeCopyright © 2016. All rights reserved.