public enum MonotonicPathRestriction extends Enum<MonotonicPathRestriction>
OrthogonalEdgeRouter.getMonotonicPathRestriction()
,
OrthogonalPatternEdgeRouter.getMonotonicPathRestriction()
,
EdgeLayoutDescriptor.getMonotonicPathRestriction()
Enum Constant and Description |
---|
BOTH
A constant specifying monotonic edge path restrictions for the horizontal and vertical direction.
|
HORIZONTAL
A constant specifying monotonic edge path restrictions for the horizontal direction.
|
NONE
A constant specifying that there are no monotonic edge path restrictions.
|
VERTICAL
A constant specifying monotonic edge path restrictions for the vertical direction.
|
Modifier and Type | Method and Description |
---|---|
static MonotonicPathRestriction |
fromOrdinal(int ordinal) |
int |
value() |
static MonotonicPathRestriction |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MonotonicPathRestriction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MonotonicPathRestriction BOTH
This implies that each horizontal as well as each vertical edge segment is directed from the source to the target.
public static final MonotonicPathRestriction HORIZONTAL
This implies that each horizontal edge segment is directed from the source to the target.
public static final MonotonicPathRestriction NONE
public static final MonotonicPathRestriction VERTICAL
This implies that each vertical edge segment is directed from the source to the target.
public static final MonotonicPathRestriction fromOrdinal(int ordinal)
public int value()
public static MonotonicPathRestriction 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 MonotonicPathRestriction[] values()
for (MonotonicPathRestriction c : MonotonicPathRestriction.values()) System.out.println(c);