public enum EdgeRoutingStyle extends Enum<EdgeRoutingStyle>
ClassicTreeLayout.getEdgeRoutingStyle()
Enum Constant and Description |
---|
ORTHOGONAL
A constant for routing the edges orthogonally in a bus-like fashion.
|
PLAIN
A constant for routing the edges as straight-line segments.
|
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 ORTHOGONAL
public static final EdgeRoutingStyle PLAIN
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);