public static enum InteriorLabelModel.Position extends Enum<InteriorLabelModel.Position>
InteriorLabelModel
.
This field can be used as an argument for the InteriorLabelModel.createParameter(Position)
factory method.
Enum Constant and Description |
---|
CENTER
Encodes a position at the center of the node interior.
|
EAST
Encodes a position at the right side of the node interior.
|
NORTH
Encodes a position at the top side of the node interior.
|
NORTH_EAST
Encodes a position at the upper right corner of the node interior.
|
NORTH_WEST
Encodes a position at the upper left corner of the node interior.
|
SOUTH
Encodes a position at the bottom side of the node interior.
|
SOUTH_EAST
Encodes a position at the lower right corner of the node interior.
|
SOUTH_WEST
Encodes a position at the lower left corner of the node interior.
|
WEST
Encodes a position at the left side of the node interior.
|
Modifier and Type | Method and Description |
---|---|
static InteriorLabelModel.Position |
fromOrdinal(int ordinal) |
int |
value() |
static InteriorLabelModel.Position |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InteriorLabelModel.Position[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InteriorLabelModel.Position CENTER
public static final InteriorLabelModel.Position EAST
public static final InteriorLabelModel.Position NORTH
public static final InteriorLabelModel.Position NORTH_EAST
public static final InteriorLabelModel.Position NORTH_WEST
public static final InteriorLabelModel.Position SOUTH
public static final InteriorLabelModel.Position SOUTH_EAST
public static final InteriorLabelModel.Position SOUTH_WEST
public static final InteriorLabelModel.Position WEST
public static final InteriorLabelModel.Position fromOrdinal(int ordinal)
public int value()
public static InteriorLabelModel.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 InteriorLabelModel.Position[] values()
for (InteriorLabelModel.Position c : InteriorLabelModel.Position.values()) System.out.println(c);