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