|
Search this API | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object y.layout.LabelCandidate y.layout.EdgeLabelCandidate
public class EdgeLabelCandidate
An EdgeLabelCandidate
describes one valid placement for an edge label considering the label model.
Constructor Summary | |
---|---|
EdgeLabelCandidate(OrientedRectangle labelBox,
java.lang.Object param,
EdgeLabelLayout owner)
Creates a new instance of EdgeLabelCandidate described by its box and model parameter. |
|
EdgeLabelCandidate(OrientedRectangle labelBox,
java.lang.Object param,
EdgeLabelLayout owner,
boolean internal)
Creates a new instance of EdgeLabelCandidate described by its box, model parameter and internal flag. |
|
EdgeLabelCandidate(YPoint pos,
YDimension size,
java.lang.Object param,
EdgeLabelLayout owner)
Creates a new instance of EdgeLabelCandidate described by location, size and model parameter. |
|
EdgeLabelCandidate(YPoint pos,
YDimension size,
java.lang.Object param,
EdgeLabelLayout owner,
boolean internal)
Creates a new instance of EdgeLabelCandidate described by location, size, model parameter and internal flag. |
Method Summary |
---|
Methods inherited from class y.layout.LabelCandidate |
---|
getBoundingBox, getBox, getCustomProfit, getEdgeOverlapPenalty, getHeight, getLocation, getModelParameter, getNodeOverlapPenalty, getOverlapPenalty, getOwner, getParameter, getSize, getWidth, getX, getY, isInternal, isPropagated, propagate, setCustomProfit, setEdgeOverlapPenalty, setNodeOverlapPenalty, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EdgeLabelCandidate(YPoint pos, YDimension size, java.lang.Object param, EdgeLabelLayout owner)
EdgeLabelCandidate
described by location, size and model parameter.
pos
- the location of the upper left corner of the candidatesize
- the size of the candidateparam
- the parameters of the label model associated with this candidateowner
- the label associated with the candidatepublic EdgeLabelCandidate(YPoint pos, YDimension size, java.lang.Object param, EdgeLabelLayout owner, boolean internal)
EdgeLabelCandidate
described by location, size, model parameter and internal flag.
pos
- the location of the upper left corner of the candidatesize
- the size of the candidateparam
- the parameters of the label model associated with this candidateowner
- the label associated with the candidateinternal
- true
if the candidate is allowed to overlap with its owner, false
otherwisepublic EdgeLabelCandidate(OrientedRectangle labelBox, java.lang.Object param, EdgeLabelLayout owner, boolean internal)
EdgeLabelCandidate
described by its box, model parameter and internal flag.
labelBox
- the box that specifies the candidate's size and positionparam
- the parameters of the label model associated with this candidateowner
- the label associated with the candidateinternal
- true
if the candidate is allowed to overlap with its owner, false
otherwisepublic EdgeLabelCandidate(OrientedRectangle labelBox, java.lang.Object param, EdgeLabelLayout owner)
EdgeLabelCandidate
described by its box and model parameter.
labelBox
- the box that specifies the candidate's size and positionparam
- the parameters of the labeling model associated with this candidateowner
- the label associated with the candidate
|
© Copyright 2000-2022, yWorks GmbH. All rights reserved. |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |