Serializable
, Comparable<SubstanceConstants.Side>
public static enum SubstanceConstants.Side extends Enum<SubstanceConstants.Side>
Enum Constant | Description |
---|---|
BOTTOM |
Bottom side.
|
LEFT |
Left side.
|
RIGHT |
Right side.
|
TOP |
Top side.
|
Modifier and Type | Method | Description |
---|---|---|
static SubstanceConstants.Side |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static SubstanceConstants.Side[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SubstanceConstants.Side LEFT
public static final SubstanceConstants.Side RIGHT
public static final SubstanceConstants.Side TOP
public static final SubstanceConstants.Side BOTTOM
public static SubstanceConstants.Side[] values()
for (SubstanceConstants.Side c : SubstanceConstants.Side.values()) System.out.println(c);
public static SubstanceConstants.Side 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 null