|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface defines constants relevant for the automatic labeling process.
The specifiers LabelLayoutConstants.PLACE_ANYWHERE
. LabelLayoutConstants.PLACE_AT_SOURCE
, LabelLayoutConstants.PLACE_AT_TARGET
and LabelLayoutConstants.PLACE_AT_CENTER
express at what approximate location along an edge path
a label should be placed by a layout algorithm.
LabelLayoutConstants.PLACE_ON_EDGE
. LabelLayoutConstants.PLACE_LEFT_OF_EDGE
or LabelLayoutConstants.PLACE_RIGHT_OF_EDGE
express on which side of the edge path a label
should be placed by a labeling algorithm.
ORed combinations of edge label layout constants like
(LabelLayoutConstants.PLACE_AT_SOURCE
| LabelLayoutConstants.PLACE_RIGHT_OF_EDGE
) can be used as preferred placement
hints.
EdgeLabelLayout.getPreferredPlacement()
Field Summary | |
static byte |
PLACE_ANYWHERE
Preferred placement specifier for edge labels. |
static byte |
PLACE_AT_CENTER
Preferred placement specifier for edge labels. |
static byte |
PLACE_AT_SOURCE
Preferred placement specifier for edge labels. |
static byte |
PLACE_AT_TARGET
Preferred placement specifier for edge labels. |
static byte |
PLACE_LEFT_OF_EDGE
Preferred placement specifier for edge labels. |
static byte |
PLACE_ON_EDGE
Preferred placement specifier for edge labels. |
static byte |
PLACE_RIGHT_OF_EDGE
Preferred placement specifier for edge labels. |
static byte |
PLACEMENT_ALONG_EDGE_MASK
Placement specifier mask. |
static byte |
PLACEMENT_ON_SIDE_OF_EDGE_MASK
Placement specifier mask. |
Field Detail |
public static final byte PLACE_ANYWHERE
public static final byte PLACE_AT_SOURCE
public static final byte PLACE_AT_TARGET
public static final byte PLACE_AT_CENTER
public static final byte PLACEMENT_ALONG_EDGE_MASK
LabelLayoutConstants.PLACE_AT_TARGET
, @{link #PLACE_AT_SOURCE} or @{link #PLACE_AT_CENTER}.
public static final byte PLACE_ON_EDGE
public static final byte PLACE_LEFT_OF_EDGE
public static final byte PLACE_RIGHT_OF_EDGE
public static final byte PLACEMENT_ON_SIDE_OF_EDGE_MASK
LabelLayoutConstants.PLACE_ON_EDGE
, @{link #PLACE_LEFT_OF_EDGE} or @{link #PLACE_RIGHT_OF_EDGE}.
|
© Copyright 2000-2003, yWorks GmbH. All rights reserved. 2003 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |