com.yworks.yfiles.server.graphml.flexio.data
Class CompositeNodeLabelModel
java.lang.Object
com.yworks.yfiles.server.graphml.flexio.data.CompositeNodeLabelModel
- All Implemented Interfaces:
- NodeLabelModel
- public class CompositeNodeLabelModel
- extends java.lang.Object
- implements NodeLabelModel
An NodeLabelModel
that is composed of other node label models.
This class is used to represent the CompositeLabelModel
for layout calculations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeNodeLabelModel
public CompositeNodeLabelModel()
getModels
public java.util.List getModels()
getDefaultParameter
public java.lang.Object getDefaultParameter()
- Specified by:
getDefaultParameter
in interface NodeLabelModel
add
public void add(NodeLabelModel model)
getLabelPlacement
public OrientedRectangle getLabelPlacement(YDimension labelSize,
NodeLayout nodeLayout,
java.lang.Object param)
- Specified by:
getLabelPlacement
in interface NodeLabelModel
getLabelCandidates
public YList getLabelCandidates(NodeLabelLayout labelLayout,
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