public enum GroupNodeMode extends Enum<GroupNodeMode>
OrganicLayout
.Enum Constant and Description |
---|
FIX_BOUNDS
A mode constant for placing the group nodes and their content with respect to the original bounds of the group node.
|
FIX_CONTENTS
A mode constant for placing group nodes with fixed content.
|
NORMAL
A mode constant for placing and resizing the group nodes and their content by the layout algorithm.
|
Modifier and Type | Method and Description |
---|---|
static GroupNodeMode |
fromOrdinal(int ordinal) |
int |
value() |
static GroupNodeMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupNodeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupNodeMode FIX_BOUNDS
NodeLabelConsiderationEnabled
is enabled or property NodeOverlapsAllowed
is disabled, the bounds restriction may be violated because the algorithm has to adjust the graph elements such that
there are no overlaps.OrganicLayout.GROUP_NODE_MODE_DPKEY
public static final GroupNodeMode FIX_CONTENTS
NodeLabelConsiderationEnabled
is enabled or property NodeOverlapsAllowed
is disabled, the bounds restriction may be violated because the algorithm has to adjust the graph elements such that
there are no overlaps.OrganicLayout.GROUP_NODE_MODE_DPKEY
public static final GroupNodeMode NORMAL
OrganicLayout.GROUP_NODE_MODE_DPKEY
public static final GroupNodeMode fromOrdinal(int ordinal)
public int value()
public static GroupNodeMode 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 GroupNodeMode[] values()
for (GroupNodeMode c : GroupNodeMode.values()) System.out.println(c);