public static enum Box.BoxSide extends java.lang.Enum<Box.BoxSide>
Enum Constant and Description |
---|
BOTTOM
The bottom side of a box.
|
LEFT
The left side of a box.
|
RIGHT
The right side of a box.
|
TOP
The top side of a box.
|
Modifier and Type | Method and Description |
---|---|
static Box.BoxSide |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Box.BoxSide[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Box.BoxSide TOP
public static final Box.BoxSide RIGHT
public static final Box.BoxSide BOTTOM
public static final Box.BoxSide LEFT
public static Box.BoxSide[] values()
for (Box.BoxSide c : Box.BoxSide.values()) System.out.println(c);
public static Box.BoxSide 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