public enum VertexDirection extends java.lang.Enum<VertexDirection>
Enum Constant and Description |
---|
East |
NorthEast |
NorthWest |
SouthEast |
SouthWest |
West |
Modifier and Type | Field and Description |
---|---|
private VertexDirection |
opposite |
Modifier and Type | Method and Description |
---|---|
VertexDirection |
getOppositeDirection() |
static java.lang.String |
toString(VertexDirection e) |
static VertexDirection |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VertexDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VertexDirection West
public static final VertexDirection NorthWest
public static final VertexDirection NorthEast
public static final VertexDirection East
public static final VertexDirection SouthEast
public static final VertexDirection SouthWest
private VertexDirection opposite
public static VertexDirection[] values()
for (VertexDirection c : VertexDirection.values()) System.out.println(c);
public static VertexDirection 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 VertexDirection getOppositeDirection()
public static java.lang.String toString(VertexDirection e)