|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
ObjectEnum<HexagonOrientation>
HexagonOrientation
public enum HexagonOrientation
Constants to describe the orientation of a Hexagon
.
ANGLED
element has a "pointy" top with a single vertex
touching the upper edge of its bounding rectangle.
FLAT
element has edges that run along the upper and
lower edges of its bounding rectangle
Enum Constant Summary | |
---|---|
ANGLED
An ANGLED element has a "pointy" top with a single vertex
touching the upper edge of its bounding rectangle. |
|
FLAT
A FLAT element has edges that run along the upper and
lower edges of its bounding rectangle |
Method Summary | |
---|---|
static HexagonOrientation |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static HexagonOrientation[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final HexagonOrientation ANGLED
ANGLED
element has a "pointy" top with a single vertex
touching the upper edge of its bounding rectangle.
public static final HexagonOrientation FLAT
FLAT
element has edges that run along the upper and
lower edges of its bounding rectangle
Method Detail |
---|
public static HexagonOrientation[] values()
for (HexagonOrientation c : HexagonOrientation.values()) System.out.println(c);
public static HexagonOrientation valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |