public enum NodeAlignment extends Enum<NodeAlignment>
Enum Constant and Description |
---|
CENTERED
Node alignment policy that results in center-aligned nodes.
|
DISTRIBUTED
Node alignment policy that results in vertically or horizontally distributed nodes.
|
LEADING
Node alignment policy that results in top-aligned nodes for vertical alignment and left-aligned nodes for horizontal
alignments.
|
TRAILING
Node alignment policy that results in bottom-aligned nodes for vertical alignment and right-aligned nodes for horizontal
alignments.
|
Modifier and Type | Method and Description |
---|---|
static NodeAlignment |
fromOrdinal(int ordinal) |
int |
value() |
static NodeAlignment |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NodeAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NodeAlignment CENTERED
public static final NodeAlignment DISTRIBUTED
public static final NodeAlignment LEADING
public static final NodeAlignment TRAILING
public static final NodeAlignment fromOrdinal(int ordinal)
public int value()
public static NodeAlignment 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 NodeAlignment[] values()
for (NodeAlignment c : NodeAlignment.values()) System.out.println(c);