public final class DiscreteEdgeLabelPositions extends FlagsEnum<DiscreteEdgeLabelPositions>
DiscreteEdgeLabelLayoutModel.DiscreteEdgeLabelLayoutModel(DiscreteEdgeLabelPositions),
DiscreteEdgeLabelLayoutModel.getCandidateMask(),
DiscreteEdgeLabelLayoutModel.getLabelPlacement(com.yworks.yfiles.algorithms.YDimension, IEdgeLayout, INodeLayout, INodeLayout, DiscreteEdgeLabelPositions),
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static DiscreteEdgeLabelPositions |
CENTER
Position specifier that describes a label placement near the middle of the edge, directly on the edge's path.
|
static DiscreteEdgeLabelPositions |
CENTERED
Position mask that constrains the allowed positions to the
CENTER of the edge's path. |
static DiscreteEdgeLabelPositions |
HEAD
Position specifier that describes a label placement near the middle of the edge, left/above the edge's path.
|
static DiscreteEdgeLabelPositions |
SIX_POS
Position mask that constrains the allowed positions to a set of six positions beside the edge path.
|
static DiscreteEdgeLabelPositions |
SOURCE_CENTER
Position specifier that describes a label placement near the source, directly on the edge's path.
|
static DiscreteEdgeLabelPositions |
SOURCE_HEAD
Position specifier that describes a label placement near the source, left/above the edge's path.
|
static DiscreteEdgeLabelPositions |
SOURCE_TAIL
Position specifier that describes a label placement near the source, right/below the edge's path.
|
static DiscreteEdgeLabelPositions |
TAIL
Position specifier that describes a label placement near the middle of the edge, right/below the edge's path.
|
static DiscreteEdgeLabelPositions |
TARGET_CENTER
Position specifier that describes a label placement near the target, directly on the edge's path.
|
static DiscreteEdgeLabelPositions |
TARGET_HEAD
Position specifier that describes a label placement near the target, left/above the edge's path.
|
static DiscreteEdgeLabelPositions |
TARGET_TAIL
Position specifier that describes a label placement near the target, right/below the edge's path.
|
static DiscreteEdgeLabelPositions |
THREE_CENTER
Position mask that constrains the allowed positions to a set of three positions directly on the edge's path.
|
static DiscreteEdgeLabelPositions |
TWO_POS
Position mask that constrains the allowed positions to the two locations near the middle of the edge beside the edge's
path.
|
| Modifier and Type | Method and Description |
|---|---|
static DiscreteEdgeLabelPositions |
fromName(String name) |
static DiscreteEdgeLabelPositions |
fromOrdinal(int value) |
protected DiscreteEdgeLabelPositions |
fromOrdinalImpl(int ordinal) |
protected DiscreteEdgeLabelPositions[] |
getItems()
Returns all items defined in this FlagsEnum.
|
int |
value() |
and, and, contains, containsAll, doubleValue, equals, equals, floatValue, hashCode, intValue, inverse, inverse, longValue, notContains, notEquals, or, or, ordinal, toString, xor, xorbyteValue, shortValuepublic static final DiscreteEdgeLabelPositions CENTER
or-operation.public static final DiscreteEdgeLabelPositions CENTERED
CENTER of the edge's path.CENTERpublic static final DiscreteEdgeLabelPositions HEAD
or-operation.public static final DiscreteEdgeLabelPositions SIX_POS
Two of the positions are near the source and two others are near the target. The remaining positions are in the middle of the edge.
SOURCE_HEAD,
SOURCE_TAIL,
HEAD,
TAIL,
TARGET_HEAD,
TARGET_TAILpublic static final DiscreteEdgeLabelPositions SOURCE_CENTER
or-operation.public static final DiscreteEdgeLabelPositions SOURCE_HEAD
or-operation.public static final DiscreteEdgeLabelPositions SOURCE_TAIL
or-operation.public static final DiscreteEdgeLabelPositions TAIL
or-operation.public static final DiscreteEdgeLabelPositions TARGET_CENTER
or-operation.public static final DiscreteEdgeLabelPositions TARGET_HEAD
or-operation.public static final DiscreteEdgeLabelPositions TARGET_TAIL
or-operation.public static final DiscreteEdgeLabelPositions THREE_CENTER
SOURCE_CENTER,
CENTER,
TARGET_CENTERpublic static final DiscreteEdgeLabelPositions TWO_POS
public static final DiscreteEdgeLabelPositions fromName(String name)
public static final DiscreteEdgeLabelPositions fromOrdinal(int value)
protected final DiscreteEdgeLabelPositions fromOrdinalImpl(int ordinal)
fromOrdinalImpl in class FlagsEnum<DiscreteEdgeLabelPositions>protected final DiscreteEdgeLabelPositions[] getItems()
FlagsEnumgetItems in class FlagsEnum<DiscreteEdgeLabelPositions>public int value()