public enum FixPointPolicy extends Enum<FixPointPolicy>
FixNodeLayoutStage.getFixPointPolicy()
Enum Constant and Description |
---|
CENTER
Fix point calculation policy specifying that the center of a rectangle containing all fixed nodes is considered
the fix point.
|
LOWER_LEFT
Fix point calculation policy specifying that the lower left corner of a rectangle containing all fixed nodes is
considered the fix point.
|
LOWER_RIGHT
Fix point calculation policy specifying that the lower right corner of a rectangle containing all fixed nodes
is considered the fix point.
|
UPPER_LEFT
Fix point calculation policy specifying that the upper left corner of a rectangle containing all fixed nodes is
considered the fix point.
|
UPPER_RIGHT
Fix point calculation policy specifying that the upper right corner of a rectangle containing all fixed nodes
is considered the fix point.
|
Modifier and Type | Method and Description |
---|---|
static FixPointPolicy |
fromOrdinal(int ordinal) |
int |
value() |
static FixPointPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FixPointPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FixPointPolicy CENTER
public static final FixPointPolicy LOWER_LEFT
public static final FixPointPolicy LOWER_RIGHT
public static final FixPointPolicy UPPER_LEFT
public static final FixPointPolicy UPPER_RIGHT
public static final FixPointPolicy fromOrdinal(int ordinal)
public int value()
public static FixPointPolicy 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 FixPointPolicy[] values()
for (FixPointPolicy c : FixPointPolicy.values()) System.out.println(c);