public static enum NinePositionsEdgeLabelModel.Position extends Enum<NinePositionsEdgeLabelModel.Position>
NinePositionsEdgeLabelModel
.
This enumeration can be used for the factory method NinePositionsEdgeLabelModel.createParameter(Position)
.
Enum Constant and Description |
---|
CENTER_ABOVE
Encodes a label position at the center above the edge.
|
CENTER_BELOW
Encodes a label position at the center below the edge.
|
CENTER_CENTERED
Encodes a label position at the center of the edge that lies on the edge.
|
SOURCE_ABOVE
Encodes a label position at the source above the edge.
|
SOURCE_BELOW
Encodes a label position at the source below the edge.
|
SOURCE_CENTERED
Encodes a label position at the source of the edge that lies on the edge.
|
TARGET_ABOVE
Encodes a label position at the target above the edge.
|
TARGET_BELOW
Encodes a label position at the target below the edge.
|
TARGET_CENTERED
Encodes a label position at the source of the edge that lies on the edge.
|
Modifier and Type | Method and Description |
---|---|
static NinePositionsEdgeLabelModel.Position |
fromOrdinal(int ordinal) |
int |
value() |
static NinePositionsEdgeLabelModel.Position |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NinePositionsEdgeLabelModel.Position[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NinePositionsEdgeLabelModel.Position CENTER_ABOVE
public static final NinePositionsEdgeLabelModel.Position CENTER_BELOW
public static final NinePositionsEdgeLabelModel.Position CENTER_CENTERED
public static final NinePositionsEdgeLabelModel.Position SOURCE_ABOVE
public static final NinePositionsEdgeLabelModel.Position SOURCE_BELOW
public static final NinePositionsEdgeLabelModel.Position SOURCE_CENTERED
public static final NinePositionsEdgeLabelModel.Position TARGET_ABOVE
public static final NinePositionsEdgeLabelModel.Position TARGET_BELOW
public static final NinePositionsEdgeLabelModel.Position TARGET_CENTERED
public static final NinePositionsEdgeLabelModel.Position fromOrdinal(int ordinal)
public int value()
public static NinePositionsEdgeLabelModel.Position 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 NinePositionsEdgeLabelModel.Position[] values()
for (NinePositionsEdgeLabelModel.Position c : NinePositionsEdgeLabelModel.Position.values()) System.out.println(c);