|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.yworks.yfiles.server.graphml.flexio.data.FreeNodeLabelModel
yFiles FLEX client free node label model data object
Nested Class Summary | |
static class |
FreeNodeLabelModel.AbstractFreeNodeLabelParameter
|
static class |
FreeNodeLabelModel.NodeCenterAnchoredParameter
Model parameter for the free node label model that allow to specify the label position relative to the node's layout. |
static class |
FreeNodeLabelModel.NodeLayoutAnchoredParameter
Model parameter for the free node label model that allow to specify the label position relative to the node's layout. |
static class |
FreeNodeLabelModel.NodeRatioAnchoredParameter
Model parameter for the free node label model that anchors the label to the node at a given position. |
Constructor Summary | |
FreeNodeLabelModel()
|
Method Summary | |
ILabelModelParameter |
createDefaultParameter()
Creates a default parameter that can be used for this model. |
OrientedRectangle |
getLabelPlacement(YDimension labelSize,
NodeLayout nodeLayout,
ILabelModelParameter modelParameter)
Returns the oriented label position and bounds encoded by the given model parameter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FreeNodeLabelModel()
Method Detail |
public ILabelModelParameter createDefaultParameter()
ILabelModel
createDefaultParameter
in interface ILabelModel
public OrientedRectangle getLabelPlacement(YDimension labelSize, NodeLayout nodeLayout, ILabelModelParameter modelParameter)
labelSize
- The size of the label that should be placed.nodeLayout
- The layout of the node to which the label belongs.modelParameter
- The model parameter that describes the abstract position of
the label within this model.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |