public static enum CardGame.BoardType extends java.lang.Enum<CardGame.BoardType>
| Enum Constant and Description |
|---|
FIXED_SQUARE
The current orientation at startup is fixed;
the game board takes a square of maximum size in the middle of the screen.
|
HORZ_FULL
Landscape orientation; the game board takes the full screen rectangle.
|
HORZ_SPLIT
Landscape orientation; the game board takes a square of maximum size
at the left side of the screen.
|
HORZ_SQUARE
Landscape orientation; the game board takes a square of maximum size
in the middle of the screen.
|
VERT_FULL
Portrait orientation; the game board takes the full screen rectangle.
|
VERT_SPLIT
Portrait orientation; the game board takes a square of maximum size
on the upper side of the screen.
|
VERT_SQUARE
Portrait orientation; the game board takes a square of maximum size
in the middle of the screen.
|
| Modifier and Type | Method and Description |
|---|---|
static CardGame.BoardType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CardGame.BoardType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CardGame.BoardType FIXED_SQUARE
public static final CardGame.BoardType HORZ_FULL
public static final CardGame.BoardType HORZ_SQUARE
public static final CardGame.BoardType HORZ_SPLIT
public static final CardGame.BoardType VERT_FULL
public static final CardGame.BoardType VERT_SQUARE
public static final CardGame.BoardType VERT_SPLIT
public static CardGame.BoardType[] values()
for (CardGame.BoardType c : CardGame.BoardType.values()) System.out.println(c);
public static CardGame.BoardType 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 null