|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<CompassPoint>
de.cau.cs.kieler.kiml.graphviz.dot.CompassPoint
public enum CompassPoint
A representation of the literals of the enumeration 'Compass Point', and utility methods for working with them.
DotPackage.getCompassPoint()
Enum Constant Summary | |
---|---|
EAST
The 'East' literal object. |
|
NORTH
The 'North' literal object. |
|
NORTHEAST
The 'Northeast' literal object. |
|
NORTHWEST
The 'Northwest' literal object. |
|
SOUTH
The 'South' literal object. |
|
SOUTHEAST
The 'Southeast' literal object. |
|
SOUTHWEST
The 'Southwest' literal object. |
|
WEST
The 'West' literal object. |
Field Summary | |
---|---|
static int |
EAST_VALUE
The 'East' literal value. |
static int |
NORTH_VALUE
The 'North' literal value. |
static int |
NORTHEAST_VALUE
The 'Northeast' literal value. |
static int |
NORTHWEST_VALUE
The 'Northwest' literal value. |
static int |
SOUTH_VALUE
The 'South' literal value. |
static int |
SOUTHEAST_VALUE
The 'Southeast' literal value. |
static int |
SOUTHWEST_VALUE
The 'Southwest' literal value. |
static List<CompassPoint> |
VALUES
A public read-only list of all the 'Compass Point' enumerators. |
static int |
WEST_VALUE
The 'West' literal value. |
Method Summary | |
---|---|
static CompassPoint |
get(int value)
Returns the 'Compass Point' literal with the specified integer value. |
static CompassPoint |
get(String literal)
Returns the 'Compass Point' literal with the specified literal value. |
static CompassPoint |
getByName(String name)
Returns the 'Compass Point' literal with the specified name. |
String |
getLiteral()
|
String |
getName()
|
int |
getValue()
|
String |
toString()
Returns the literal value of the enumerator, which is its string representation. |
static CompassPoint |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static CompassPoint[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final CompassPoint NORTH
NORTH_VALUE
public static final CompassPoint NORTHEAST
NORTHEAST_VALUE
public static final CompassPoint EAST
EAST_VALUE
public static final CompassPoint SOUTHEAST
SOUTHEAST_VALUE
public static final CompassPoint SOUTH
SOUTH_VALUE
public static final CompassPoint SOUTHWEST
SOUTHWEST_VALUE
public static final CompassPoint WEST
WEST_VALUE
public static final CompassPoint NORTHWEST
NORTHWEST_VALUE
Field Detail |
---|
public static final int NORTH_VALUE
If the meaning of 'North' literal object isn't clear, there really should be more of a description here...
NORTH
,
Constant Field Valuesname | = | north |
literal | = | n |
public static final int NORTHEAST_VALUE
If the meaning of 'Northeast' literal object isn't clear, there really should be more of a description here...
NORTHEAST
,
Constant Field Valuesname | = | northeast |
literal | = | ne |
public static final int EAST_VALUE
If the meaning of 'East' literal object isn't clear, there really should be more of a description here...
EAST
,
Constant Field Valuesname | = | east |
literal | = | e |
public static final int SOUTHEAST_VALUE
If the meaning of 'Southeast' literal object isn't clear, there really should be more of a description here...
SOUTHEAST
,
Constant Field Valuesname | = | southeast |
literal | = | se |
public static final int SOUTH_VALUE
If the meaning of 'South' literal object isn't clear, there really should be more of a description here...
SOUTH
,
Constant Field Valuesname | = | south |
literal | = | s |
public static final int SOUTHWEST_VALUE
If the meaning of 'Southwest' literal object isn't clear, there really should be more of a description here...
SOUTHWEST
,
Constant Field Valuesname | = | southwest |
literal | = | sw |
public static final int WEST_VALUE
If the meaning of 'West' literal object isn't clear, there really should be more of a description here...
WEST
,
Constant Field Valuesname | = | west |
literal | = | w |
public static final int NORTHWEST_VALUE
If the meaning of 'Northwest' literal object isn't clear, there really should be more of a description here...
NORTHWEST
,
Constant Field Valuesname | = | northwest |
literal | = | nw |
public static final List<CompassPoint> VALUES
Method Detail |
---|
public static CompassPoint[] values()
for (CompassPoint c : CompassPoint.values()) System.out.println(c);
public static CompassPoint 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 nullpublic static CompassPoint get(String literal)
public static CompassPoint getByName(String name)
public static CompassPoint get(int value)
public int getValue()
getValue
in interface Enumerator
public String getName()
getName
in interface Enumerator
public String getLiteral()
getLiteral
in interface Enumerator
public String toString()
toString
in class Enum<CompassPoint>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |