|
Search this API | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objecty.layout.LabelCandidate
y.layout.EdgeLabelCandidate
public class EdgeLabelCandidate
A candidate position for edge labels
| Constructor Summary | |
|---|---|
EdgeLabelCandidate(OrientedRectangle orientedBox,
Object param,
EdgeLabelLayout owner)
Returns a new instance of EdgeLabelCandidate. |
|
EdgeLabelCandidate(OrientedRectangle orientedBox,
Object param,
EdgeLabelLayout owner,
boolean internal)
Returns a new instance of EdgeLabelCandidate. |
|
EdgeLabelCandidate(YPoint pos,
YDimension size,
Object param,
EdgeLabelLayout owner)
Returns a new instance of LabelCandidate. |
|
EdgeLabelCandidate(YPoint pos,
YDimension size,
Object param,
EdgeLabelLayout owner,
boolean internal)
Returns a new instance of EdgeLabelCandidate. |
|
| 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,
Object param,
EdgeLabelLayout owner)
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.
public EdgeLabelCandidate(YPoint pos,
YDimension size,
Object param,
EdgeLabelLayout owner,
boolean internal)
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.
public EdgeLabelCandidate(OrientedRectangle orientedBox,
Object param,
EdgeLabelLayout owner,
boolean internal)
orientedBox - the box that specifies the candidate's size and position.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.
public EdgeLabelCandidate(OrientedRectangle orientedBox,
Object param,
EdgeLabelLayout owner)
orientedBox - the box that specifies the candidate's size and position.param - the parameters of the labeling model
associated with this candidate.owner - the label associated to the candidate.
|
© Copyright 2000-2013, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||