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