|
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.NodeLabelCandidate
public class NodeLabelCandidate
A NodeLabelCandidate describes one valid placement for a node label considering the label model.
![]() |
![]() |
| Constructor Summary | |
|---|---|
NodeLabelCandidate(OrientedRectangle labelBox,
java.lang.Object param,
NodeLabelLayout owner)
Creates a new instance of NodeLabelCandidate described by its box and model parameter. |
|
NodeLabelCandidate(OrientedRectangle labelBox,
java.lang.Object param,
NodeLabelLayout owner,
boolean internal)
Creates a new instance of NodeLabelCandidate described by its box, model parameter and internal flag. |
|
NodeLabelCandidate(YPoint pos,
YDimension size,
java.lang.Object param,
NodeLabelLayout owner)
Creates a new instance of NodeLabelCandidate described by location, size and model parameter. |
|
NodeLabelCandidate(YPoint pos,
YDimension size,
java.lang.Object param,
NodeLabelLayout owner,
boolean internal)
Creates a new instance of NodeLabelCandidate 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 NodeLabelCandidate(YPoint pos,
YDimension size,
java.lang.Object param,
NodeLabelLayout owner)
NodeLabelCandidate 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 candidate
public NodeLabelCandidate(OrientedRectangle labelBox,
java.lang.Object param,
NodeLabelLayout owner)
NodeLabelCandidate described by its box and model parameter.
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 candidate
public NodeLabelCandidate(OrientedRectangle labelBox,
java.lang.Object param,
NodeLabelLayout owner,
boolean internal)
NodeLabelCandidate 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
otherwise
public NodeLabelCandidate(YPoint pos,
YDimension size,
java.lang.Object param,
NodeLabelLayout owner,
boolean internal)
NodeLabelCandidate 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
otherwise
|
© Copyright 2000-2025, yWorks GmbH. All rights reserved. |
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||