y.layout
Class EdgeLabelCandidate
java.lang.Object
y.layout.LabelCandidate
y.layout.EdgeLabelCandidate
- All Implemented Interfaces:
- PlaneObject
public class EdgeLabelCandidate
- extends LabelCandidate
A candidate position for edge labels
-
-
| Methods inherited from class y.layout.LabelCandidate |
getBoundingBox, getEdgeOverlapPenalty, getHeight, getLocation, getModelParameter, getNodeOverlapPenalty, getOverlapPenalty, getOwner, getParameter, getSize, getWidth, getX, getY, isInternal, isPropagated, propagate, setEdgeOverlapPenalty, setNodeOverlapPenalty, toString |
EdgeLabelCandidate
public EdgeLabelCandidate(YPoint pos,
YDimension size,
Object param,
EdgeLabelLayout owner)
- Returns a new instance of LabelCandidate.
- Parameters:
pos - the location of the upper
left corner of the candidate.size - the size of the candidate.param - the parameters of the labeling model
associated with this candidate.owner - the label associated to the candidate.
EdgeLabelCandidate
public EdgeLabelCandidate(YPoint pos,
YDimension size,
Object param,
EdgeLabelLayout owner,
boolean internal)
- Returns a new instance of EdgeLabelCandidate.
- Parameters:
pos - the location of the upper
left corner of the candidate.size - the size of the candidate.param - the parameters of the labeling model
associated with this candidate.owner - the label associated to the candidate.internal - flag whether the candidate is
allowed to overlap the layout of the edge.