public enum VerticalNodeAlignment extends Enum<VerticalNodeAlignment>
FamilyTreeLayout.getAlignment()
Enum Constant and Description |
---|
BOTTOM
Alignment specifier that defines that all nodes in the same layer (generation) are aligned based on their bottom
coordinate.
|
CENTER
Alignment specifier that defines that all nodes in the same layer (generation) are aligned based on their center
coordinate.
|
TOP
Alignment specifier that defines that all nodes in the same layer (generation) are aligned based on their top
coordinate.
|
Modifier and Type | Method and Description |
---|---|
static VerticalNodeAlignment |
fromOrdinal(int ordinal) |
int |
value() |
static VerticalNodeAlignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static VerticalNodeAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VerticalNodeAlignment BOTTOM
The descriptions of the directions are based on LayoutOrientation.TOP_TO_BOTTOM
.
public static final VerticalNodeAlignment CENTER
The descriptions of the directions are based on LayoutOrientation.TOP_TO_BOTTOM
.
public static final VerticalNodeAlignment TOP
The descriptions of the directions are based on LayoutOrientation.TOP_TO_BOTTOM
.
public static final VerticalNodeAlignment fromOrdinal(int ordinal)
public int value()
public static VerticalNodeAlignment 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 VerticalNodeAlignment[] values()
for (VerticalNodeAlignment c : VerticalNodeAlignment.values()) System.out.println(c);