public enum CompassPoint extends java.lang.Enum<CompassPoint>
See: http://www.graphviz.org/doc/info/attrs.html#k:portPos
Enum Constant and Description |
---|
CENTER |
EAST |
EXTERIOR_SIDE |
NORTH |
NORTH_EAST |
NORTH_WEST |
SOUTH |
SOUTH_EAST |
SOUTH_WEST |
WEST |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString() |
static CompassPoint |
valueOf(java.lang.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.
|
public static final CompassPoint NORTH
public static final CompassPoint NORTH_EAST
public static final CompassPoint EAST
public static final CompassPoint SOUTH_EAST
public static final CompassPoint SOUTH
public static final CompassPoint SOUTH_WEST
public static final CompassPoint WEST
public static final CompassPoint NORTH_WEST
public static final CompassPoint CENTER
public static final CompassPoint EXTERIOR_SIDE
public static CompassPoint[] values()
for (CompassPoint c : CompassPoint.values()) System.out.println(c);
public static CompassPoint 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 java.lang.String toString()
toString
in class java.lang.Enum<CompassPoint>