Enum Constant and Description |
---|
East
270 degrees
|
Nonstandard
Don't define in Standart
|
North
0 degree
|
NorthEast
315 degrees
|
NorthWest
45 degrees
|
South
180 degrees
|
SouthEast
225 degrees
|
SouthWest
135 degrees
|
West
90 degrees
|
Modifier and Type | Method and Description |
---|---|
static paramSCO |
getEnumValue(int val)
Returns enum-value by int-value.
|
static int |
getIntValue(paramSCO val)
Returns int-value, which is corresponded to enum-value.
|
static paramSCO |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static paramSCO[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final paramSCO North
public static final paramSCO NorthWest
public static final paramSCO West
public static final paramSCO SouthWest
public static final paramSCO South
public static final paramSCO SouthEast
public static final paramSCO East
public static final paramSCO NorthEast
public static final paramSCO Nonstandard
public static paramSCO[] values()
for (paramSCO c : paramSCO.values()) System.out.println(c);
public static paramSCO 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 nullpublic static int getIntValue(paramSCO val)
val
- enum-valuepublic static paramSCO getEnumValue(int val)
val
- int-value