public final class EdgeSides extends FlagsEnum<EdgeSides>
EdgeSegmentLabelModel
.Modifier and Type | Field and Description |
---|---|
static EdgeSides |
ABOVE_EDGE
The label should be placed above the edge (in geometric sense).
|
static EdgeSides |
BELOW_EDGE
The label should be placed below the edge (in geometric sense).
|
static EdgeSides |
LEFT_OF_EDGE
The label should be placed on the left hand side of the edge path if looking from the source node into the direction of
the target node.
|
static EdgeSides |
ON_EDGE
The label should be placed on the path of the edge.
|
static EdgeSides |
RIGHT_OF_EDGE
The label should be placed on the right hand side of the edge path if looking from the source node into the direction of
the target node.
|
Modifier and Type | Method and Description |
---|---|
static EdgeSides |
fromName(String name) |
static EdgeSides |
fromOrdinal(int value) |
protected EdgeSides |
fromOrdinalImpl(int ordinal) |
protected EdgeSides[] |
getItems()
Returns all items defined in this FlagsEnum.
|
int |
value() |
and, and, contains, containsAll, doubleValue, equals, equals, floatValue, hashCode, intValue, inverse, inverse, longValue, notContains, notEquals, or, or, ordinal, toString, xor, xor
byteValue, shortValue
public static final EdgeSides ABOVE_EDGE
public static final EdgeSides BELOW_EDGE
public static final EdgeSides LEFT_OF_EDGE
public static final EdgeSides ON_EDGE
public static final EdgeSides RIGHT_OF_EDGE
public static final EdgeSides fromOrdinal(int value)
protected final EdgeSides fromOrdinalImpl(int ordinal)
fromOrdinalImpl
in class FlagsEnum<EdgeSides>
protected final EdgeSides[] getItems()
FlagsEnum
public int value()