com.yworks.yfiles.server.graphml.flexio.data
Class DescriptorWrapperNodeLabelModel
java.lang.Object
com.yworks.yfiles.server.graphml.flexio.data.DescriptorWrapperNodeLabelModel
- All Implemented Interfaces:
- NodeLabelModel
- public class DescriptorWrapperNodeLabelModel
- extends java.lang.Object
- implements NodeLabelModel
A NodeLabelModel that wraps an existing node label model and decorates it with an ILabelCandidateDescriptor.
This class is used to represent the DescriptorWrapperLabelModel for layout calculations.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DescriptorWrapperNodeLabelModel
public DescriptorWrapperNodeLabelModel(NodeLabelModel innerModel,
ILabelCandidateDescriptor descriptor)
getInnerModel
public NodeLabelModel getInnerModel()
getDescriptor
public ILabelCandidateDescriptor getDescriptor()
getDefaultParameter
public java.lang.Object getDefaultParameter()
- Specified by:
getDefaultParameter in interface NodeLabelModel
getLabelPlacement
public OrientedRectangle getLabelPlacement(YDimension labelSize,
NodeLayout nodeLayout,
java.lang.Object param)
- Specified by:
getLabelPlacement in interface NodeLabelModel
getLabelCandidates
public YList getLabelCandidates(NodeLabelLayout nl,
NodeLayout nodeLayout)
- Specified by:
getLabelCandidates in interface NodeLabelModel
createModelParameter
public java.lang.Object createModelParameter(OrientedRectangle labelBounds,
NodeLayout nodeLayout)
- Specified by:
createModelParameter in interface NodeLabelModel
Copyright © 2000-2013 yWorks GmbH. All
rights reserved