com.yworks.yfiles.server.graphml.flexio.data
Class CompositeEdgeLabelModel
java.lang.Object
com.yworks.yfiles.server.graphml.flexio.data.CompositeEdgeLabelModel
- All Implemented Interfaces:
- EdgeLabelModel
- public class CompositeEdgeLabelModel
- extends java.lang.Object
- implements EdgeLabelModel
An EdgeLabelModel
that is composed of other edge label models.
This class is used to represent the CompositeLabelModel
for layout calculations.
Method Summary |
void |
add(EdgeLabelModel model)
|
java.lang.Object |
createModelParameter(OrientedRectangle labelBounds,
EdgeLayout edgeLayout,
NodeLayout sourceLayout,
NodeLayout targetLayout)
|
java.lang.Object |
getDefaultParameter()
|
YList |
getLabelCandidates(EdgeLabelLayout labelLayout,
EdgeLayout edgeLayout,
NodeLayout sourceLayout,
NodeLayout targetLayout)
|
OrientedRectangle |
getLabelPlacement(YDimension labelSize,
EdgeLayout edgeLayout,
NodeLayout sourceLayout,
NodeLayout targetLayout,
java.lang.Object param)
|
java.util.List |
getModels()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CompositeEdgeLabelModel
public CompositeEdgeLabelModel()
getModels
public java.util.List getModels()
getDefaultParameter
public java.lang.Object getDefaultParameter()
- Specified by:
getDefaultParameter
in interface EdgeLabelModel
add
public void add(EdgeLabelModel model)
getLabelPlacement
public OrientedRectangle getLabelPlacement(YDimension labelSize,
EdgeLayout edgeLayout,
NodeLayout sourceLayout,
NodeLayout targetLayout,
java.lang.Object param)
- Specified by:
getLabelPlacement
in interface EdgeLabelModel
getLabelCandidates
public YList getLabelCandidates(EdgeLabelLayout labelLayout,
EdgeLayout edgeLayout,
NodeLayout sourceLayout,
NodeLayout targetLayout)
- Specified by:
getLabelCandidates
in interface EdgeLabelModel
createModelParameter
public java.lang.Object createModelParameter(OrientedRectangle labelBounds,
EdgeLayout edgeLayout,
NodeLayout sourceLayout,
NodeLayout targetLayout)
- Specified by:
createModelParameter
in interface EdgeLabelModel
Copyright © 2000-2013 yWorks GmbH. All
rights reserved