public static enum StripeLabelModel.Position extends Enum<StripeLabelModel.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 StripeLabelModel.Position |
fromOrdinal(int ordinal) |
int |
value() |
static StripeLabelModel.Position |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StripeLabelModel.Position[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StripeLabelModel.Position EAST
public static final StripeLabelModel.Position NORTH
public static final StripeLabelModel.Position SOUTH
public static final StripeLabelModel.Position WEST
public static final StripeLabelModel.Position fromOrdinal(int ordinal)
public int value()
public static StripeLabelModel.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 StripeLabelModel.Position[] values()
for (StripeLabelModel.Position c : StripeLabelModel.Position.values()) System.out.println(c);