public enum EdgeSegmentDirection extends Enum<EdgeSegmentDirection>
This enumeration is used by CreateEdgeInputMode.getFirstSegmentDirection()
Enum Constant and Description |
---|
EAST
The edge segment is going into east direction.
|
NORTH
The edge segment is going into north direction.
|
SOUTH
The edge segment is going into south direction.
|
WEST
The edge segment is going into west direction.
|
Modifier and Type | Method and Description |
---|---|
static EdgeSegmentDirection |
fromOrdinal(int ordinal) |
int |
value() |
static EdgeSegmentDirection |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EdgeSegmentDirection[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EdgeSegmentDirection EAST
public static final EdgeSegmentDirection NORTH
public static final EdgeSegmentDirection SOUTH
public static final EdgeSegmentDirection WEST
public static final EdgeSegmentDirection fromOrdinal(int ordinal)
public int value()
public static EdgeSegmentDirection valueOf(String name)
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullname
- the name of the enum constant to be returned.public static EdgeSegmentDirection[] values()
for (EdgeSegmentDirection c : EdgeSegmentDirection.values()) System.out.println(c);