public enum NodeAlignmentPolicy extends Enum<NodeAlignmentPolicy>
NavigationInputMode
to determine which point (if any) of a group or folder node should be
kept fixed when toggling the group node state.Enum Constant and Description |
---|
BOTTOM_CENTER
Fix the lowermost center.
|
BOTTOM_LEFT
Fix the lower left corner.
|
BOTTOM_RIGHT
Fix the lower right corner.
|
CENTER
Fix the center point.
|
CENTER_LEFT
Fix the left center.
|
CENTER_RIGHT
Fix the right center.
|
NONE
Don't fix any specific point, only use the layout from the target state.
|
TOP_CENTER
Fix the uppermost center.
|
TOP_LEFT
Fix the upper left corner.
|
TOP_RIGHT
Fix the upper right corner.
|
Modifier and Type | Method and Description |
---|---|
static NodeAlignmentPolicy |
fromOrdinal(int ordinal) |
int |
value() |
static NodeAlignmentPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeAlignmentPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeAlignmentPolicy BOTTOM_CENTER
public static final NodeAlignmentPolicy BOTTOM_LEFT
public static final NodeAlignmentPolicy BOTTOM_RIGHT
public static final NodeAlignmentPolicy CENTER
public static final NodeAlignmentPolicy CENTER_LEFT
public static final NodeAlignmentPolicy CENTER_RIGHT
public static final NodeAlignmentPolicy NONE
public static final NodeAlignmentPolicy TOP_CENTER
public static final NodeAlignmentPolicy TOP_LEFT
public static final NodeAlignmentPolicy TOP_RIGHT
public static final NodeAlignmentPolicy fromOrdinal(int ordinal)
public int value()
public static NodeAlignmentPolicy 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 NodeAlignmentPolicy[] values()
for (NodeAlignmentPolicy c : NodeAlignmentPolicy.values()) System.out.println(c);