com.yworks.yfiles.server.graphml.flexio.data
Class FreeNodeLabelModel.NodeCenterAnchoredParameter
java.lang.Object
com.yworks.yfiles.server.graphml.flexio.data.FreeNodeLabelModel.AbstractFreeNodeLabelParameter
com.yworks.yfiles.server.graphml.flexio.data.FreeNodeLabelModel.NodeCenterAnchoredParameter
- All Implemented Interfaces:
- java.lang.Cloneable, ILabelModelParameter, ISharedInstanceProvider
- Enclosing class:
- FreeNodeLabelModel
- public static class FreeNodeLabelModel.NodeCenterAnchoredParameter
- extends FreeNodeLabelModel.AbstractFreeNodeLabelParameter
- implements ISharedInstanceProvider
Model parameter for the free node label model that allow to specify the label position relative to the node's
layout.
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FreeNodeLabelModel.NodeCenterAnchoredParameter
public FreeNodeLabelModel.NodeCenterAnchoredParameter(FreeNodeLabelModel model)
getX
public double getX()
setX
public void setX(double x)
getY
public double getY()
setY
public void setY(double y)
getModel
public ILabelModel getModel()
- Description copied from interface:
ILabelModelParameter
- Gets the model that is associated with this parameter.
- Specified by:
getModel
in interface ILabelModelParameter
setGeometry
public void setGeometry(FreeNodeLabelModel freeNodeLabelModel,
YDimension labelSize,
NodeLayout nodeLayout,
OrientedRectangle orientedRectangle)
- Specified by:
setGeometry
in class FreeNodeLabelModel.AbstractFreeNodeLabelParameter
getSharedInstances
public java.util.Collection getSharedInstances()
- Description copied from interface:
ISharedInstanceProvider
- Returns an
Collection
for objects that shall be shared.
- Specified by:
getSharedInstances
in interface ISharedInstanceProvider
- Returns:
Copyright © 2000-2013 yWorks GmbH. All
rights reserved