public static enum StretchStripeLabelModel.Position extends Enum<StretchStripeLabelModel.Position>
InteriorLabelModel
.
This field can be used as an argument for the InteriorLabelModel.createParameter(com.yworks.yfiles.graph.labelmodels.InteriorLabelModel.Position)
factory method.
Enum Constant and Description |
---|
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 StretchStripeLabelModel.Position |
fromOrdinal(int ordinal) |
int |
value() |
static StretchStripeLabelModel.Position |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StretchStripeLabelModel.Position[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StretchStripeLabelModel.Position EAST
public static final StretchStripeLabelModel.Position NORTH
public static final StretchStripeLabelModel.Position SOUTH
public static final StretchStripeLabelModel.Position WEST
public static final StretchStripeLabelModel.Position fromOrdinal(int ordinal)
public int value()
public static StretchStripeLabelModel.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 StretchStripeLabelModel.Position[] values()
for (StretchStripeLabelModel.Position c : StretchStripeLabelModel.Position.values()) System.out.println(c);