public enum GroupAlignmentPolicy extends Enum<GroupAlignmentPolicy>
Enum Constant and Description |
---|
BOTTOM
A group layering alignment strategy which aligns groups and normal nodes that occupy the same layer to the bottom with
respect to their inner layers.
|
CENTER
A group layering alignment strategy which aligns groups and normal nodes that occupy the same layer to the center with
respect to their inner layers.
|
TOP
A group layering alignment strategy which aligns groups and normal nodes that occupy the same layer to the top with
respect to their inner layers.
|
Modifier and Type | Method and Description |
---|---|
static GroupAlignmentPolicy |
fromOrdinal(int ordinal) |
int |
value() |
static GroupAlignmentPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GroupAlignmentPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GroupAlignmentPolicy BOTTOM
HierarchicLayout.setGroupAlignmentPolicy(GroupAlignmentPolicy)
,
HierarchicLayout.setRecursiveGroupLayeringEnabled(boolean)
public static final GroupAlignmentPolicy CENTER
HierarchicLayout.setGroupAlignmentPolicy(GroupAlignmentPolicy)
,
HierarchicLayout.setRecursiveGroupLayeringEnabled(boolean)
public static final GroupAlignmentPolicy TOP
HierarchicLayout.setGroupAlignmentPolicy(GroupAlignmentPolicy)
,
HierarchicLayout.setRecursiveGroupLayeringEnabled(boolean)
public static final GroupAlignmentPolicy fromOrdinal(int ordinal)
public int value()
public static GroupAlignmentPolicy 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 GroupAlignmentPolicy[] values()
for (GroupAlignmentPolicy c : GroupAlignmentPolicy.values()) System.out.println(c);