public enum RoutingStyle extends Enum<RoutingStyle>
SeriesParallelLayout.getRoutingStyle()
Enum Constant and Description |
---|
OCTILINEAR
Style constant describing an octilinear edge style.
|
ORTHOGONAL
Style constant describing an orthogonal edge style.
|
POLYLINE
Style constant describing a polyline edge style.
|
Modifier and Type | Method and Description |
---|---|
static RoutingStyle |
fromOrdinal(int ordinal) |
int |
value() |
static RoutingStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RoutingStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RoutingStyle OCTILINEAR
45
-degree sloped segments.public static final RoutingStyle ORTHOGONAL
public static final RoutingStyle POLYLINE
public static final RoutingStyle fromOrdinal(int ordinal)
public int value()
public static RoutingStyle 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 RoutingStyle[] values()
for (RoutingStyle c : RoutingStyle.values()) System.out.println(c);