public enum EdgeRoutingStyle extends Enum<EdgeRoutingStyle>
Enum Constant and Description |
---|
OCTILINEAR
A routing style constant specifying that the edges should be octilinear.
|
ORTHOGONAL
A routing style constant specifying that the edges should be orthogonal.
|
POLYLINE
A routing style constant specifying that the edges should be polyline.
|
Modifier and Type | Method and Description |
---|---|
static EdgeRoutingStyle |
fromOrdinal(int ordinal) |
int |
value() |
static EdgeRoutingStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EdgeRoutingStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EdgeRoutingStyle OCTILINEAR
-1
and 1
.public static final EdgeRoutingStyle ORTHOGONAL
public static final EdgeRoutingStyle POLYLINE
public static final EdgeRoutingStyle fromOrdinal(int ordinal)
public int value()
public static EdgeRoutingStyle 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 EdgeRoutingStyle[] values()
for (EdgeRoutingStyle c : EdgeRoutingStyle.values()) System.out.println(c);