public enum StarSubstructureStyle extends Enum<StarSubstructureStyle>
OrganicLayout.getStarSubstructureStyle()
Enum Constant and Description |
---|
CIRCULAR
Substructure style specifier for stars that leads to a circular layout style for stars where the root is placed in the
middle.
|
NONE
Substructure style specifier for stars that indicates that the algorithm does not handle such structures in a special
way.
|
RADIAL
Substructure style specifier for stars that leads to a radial layout style for stars where the root is placed in the
middle.
|
SEPARATED_RADIAL
Substructure style specifier for stars that leads to a radial layout style for stars where the root is placed on the
outside (separated from the nodes with degree one).
|
Modifier and Type | Method and Description |
---|---|
static StarSubstructureStyle |
fromOrdinal(int ordinal) |
int |
value() |
static StarSubstructureStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StarSubstructureStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StarSubstructureStyle CIRCULAR
public static final StarSubstructureStyle NONE
public static final StarSubstructureStyle RADIAL
public static final StarSubstructureStyle SEPARATED_RADIAL
PortConstraintKeys.SOURCE_GROUP_ID_DPKEY
and
PortConstraintKeys.TARGET_GROUP_ID_DPKEY
), the algorithm uses a grouped routing
style.OrganicLayout.setStarSubstructureStyle(StarSubstructureStyle)
public static final StarSubstructureStyle fromOrdinal(int ordinal)
public int value()
public static StarSubstructureStyle 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 StarSubstructureStyle[] values()
for (StarSubstructureStyle c : StarSubstructureStyle.values()) System.out.println(c);