public enum ParallelSubstructureStyle extends Enum<ParallelSubstructureStyle>
Enum Constant and Description |
---|
NONE
Substructure style specifier for parallel structures that indicates that the algorithm does not handle such structures
in a special way.
|
RADIAL
Substructure style specifier for parallel structures that leads to a radial layout style for the inner nodes.
|
RECTANGULAR
Substructure style specifier for parallel structures that leads to a (rotated) rectangular layout style for the inner
nodes.
|
STRAIGHT_LINE
Substructure style specifier for parallel structures that places the inner nodes on a straight-line.
|
Modifier and Type | Method and Description |
---|---|
static ParallelSubstructureStyle |
fromOrdinal(int ordinal) |
int |
value() |
static ParallelSubstructureStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ParallelSubstructureStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParallelSubstructureStyle NONE
public static final ParallelSubstructureStyle RADIAL
PortConstraintKeys.SOURCE_GROUP_ID_DPKEY
and
PortConstraintKeys.TARGET_GROUP_ID_DPKEY
), the algorithm uses a grouped routing
style.OrganicLayout.setParallelSubstructureStyle(ParallelSubstructureStyle)
public static final ParallelSubstructureStyle RECTANGULAR
PortConstraintKeys.SOURCE_GROUP_ID_DPKEY
and
PortConstraintKeys.TARGET_GROUP_ID_DPKEY
), the algorithm uses a grouped routing
style.OrganicLayout.setParallelSubstructureStyle(ParallelSubstructureStyle)
public static final ParallelSubstructureStyle STRAIGHT_LINE
PortConstraintKeys.SOURCE_GROUP_ID_DPKEY
and
PortConstraintKeys.TARGET_GROUP_ID_DPKEY
), the algorithm uses a grouped routing
style.OrganicLayout.setParallelSubstructureStyle(ParallelSubstructureStyle)
public static final ParallelSubstructureStyle fromOrdinal(int ordinal)
public int value()
public static ParallelSubstructureStyle 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 ParallelSubstructureStyle[] values()
for (ParallelSubstructureStyle c : ParallelSubstructureStyle.values()) System.out.println(c);