|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface LabelLayoutConstants
This interface defines constants relevant for the automatic labeling process.
The specifiersPLACE_AT_SOURCE, PLACE_AT_TARGET and PLACE_AT_CENTER express at what
approximate location along an edge path a label should be placed by a labeling algorithm.
The specifiers PLACE_ON_EDGE, PLACE_LEFT_OF_EDGE, or PLACE_RIGHT_OF_EDGE express on which
side of the edge path a label should be placed by a labeling algorithm.
The specifier PLACE_ANYWHERE expresses that the label can be placed anywhere along the edge or on any side
of the edge.
ORed combinations of edge label layout constants like (PLACE_AT_SOURCE | PLACE_RIGHT_OF_EDGE) can
be used as preferred placement hints.
EdgeLabelLayout.getPreferredPlacementDescriptor()
| 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 |
|---|
static final byte PLACE_AT_SOURCE
static final byte PLACE_AT_TARGET
static final byte PLACE_AT_CENTER
static final byte PLACEMENT_ALONG_EDGE_MASK
PLACE_AT_TARGET, PLACE_AT_SOURCE, or PLACE_AT_CENTER.
static final byte PLACE_ON_EDGE
static final byte PLACE_LEFT_OF_EDGE
static final byte PLACE_RIGHT_OF_EDGE
static final byte PLACEMENT_ON_SIDE_OF_EDGE_MASK
PLACE_ON_EDGE, PLACE_LEFT_OF_EDGE, or PLACE_RIGHT_OF_EDGE.
static final byte PLACE_ANYWHERE
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||