JavaScript is disabled on your browser.
Enum Constant Summary
Enum Constants
Method Summary
All Methods Static Methods Concrete Methods
Returns the enum constant of this class with the specified name.
Returns an array containing the constants of this enum class, in
the order they are declared.
Methods inherited from class java.lang.Enum
clone , compareTo , describeConstable , equals , finalize , getDeclaringClass , hashCode , name , ordinal , toString , valueOf
Enum Constant Details
ASCENDING_EAST
public static final Shape ASCENDING_EAST
ASCENDING_NORTH
public static final Shape ASCENDING_NORTH
ASCENDING_SOUTH
public static final Shape ASCENDING_SOUTH
ASCENDING_WEST
public static final Shape ASCENDING_WEST
EAST_WEST
public static final Shape EAST_WEST
INNER_LEFT
public static final Shape INNER_LEFT
INNER_RIGHT
public static final Shape INNER_RIGHT
NORTH_EAST
public static final Shape NORTH_EAST
NORTH_SOUTH
public static final Shape NORTH_SOUTH
NORTH_WEST
public static final Shape NORTH_WEST
OUTER_LEFT
public static final Shape OUTER_LEFT
OUTER_RIGHT
public static final Shape OUTER_RIGHT
SOUTH_EAST
public static final Shape SOUTH_EAST
SOUTH_WEST
public static final Shape SOUTH_WEST
STRAIGHT
public static final Shape STRAIGHT
Method Details
values
public static Shape [] values ()
Returns an array containing the constants of this enum class, in
the order they are declared.
Returns:
an array containing the constants of this enum class, in the order they are declared
valueOf
Returns the enum constant of this class with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this class. (Extraneous whitespace characters are
not permitted.)
Parameters:
name
- the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException
- if this enum class has no constant with the specified name
NullPointerException
- if the argument is null