public enum RoutingStyle extends Enum<RoutingStyle>
Enum Constant and Description |
---|
FORK
Routing style specifier which defines that edge paths are routed orthogonally with the bends located in the channel
between the root node and the child nodes.
|
FORK_AT_ROOT
Routing style specifier which defines that edge paths are routed orthogonally with just one bend.
|
POLYLINE
Routing style constant which defines that edge paths are routed with a straight segment to the connector of the
TreeLayout.SubtreeShape
of the child nodes. |
STRAIGHT
Routing style specifier which defines that edge paths are routed with a straight segment to the center of the child
nodes.
|
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 FORK
public static final RoutingStyle FORK_AT_ROOT
Edges will leave the root node at its sides and bend exactly above the according child node. If the child node is placed directly below the root node, the edge will bend inside of the root node and leave it at the bottom.
public static final RoutingStyle POLYLINE
TreeLayout.SubtreeShape
of the child nodes.public static final RoutingStyle STRAIGHT
DefaultNodePlacer.setRoutingStyle(RoutingStyle)
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);