public enum EdgeRoutingStrategy extends Enum<EdgeRoutingStrategy>
RadialLayout.getEdgeRoutingStrategy()
Enum Constant and Description |
---|
ARC
Specifier for an edge routing strategy that will route edges as arcs.
|
POLYLINE
Specifier for an edge routing strategy that will route edges with polyline segments from source to target with one bend
on each spanned circle.
|
Modifier and Type | Method and Description |
---|---|
static EdgeRoutingStrategy |
fromOrdinal(int ordinal) |
int |
value() |
static EdgeRoutingStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EdgeRoutingStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EdgeRoutingStrategy ARC
public static final EdgeRoutingStrategy POLYLINE
public static final EdgeRoutingStrategy fromOrdinal(int ordinal)
public int value()
public static EdgeRoutingStrategy 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 EdgeRoutingStrategy[] values()
for (EdgeRoutingStrategy c : EdgeRoutingStrategy.values()) System.out.println(c);