com.yworks.yfiles.bpmn.view
Class BpmnChoreographyMinimumSizeProvider
java.lang.Object
com.yworks.yfiles.bpmn.view.BpmnChoreographyMinimumSizeProvider
- All Implemented Interfaces:
- GenericNodeRealizer.GenericSizeConstraintProvider
- public class BpmnChoreographyMinimumSizeProvider
- extends Object
- implements GenericNodeRealizer.GenericSizeConstraintProvider
Restricts the minimum size of a choreography node such that the node
encompasses all of its choreography labels. I.e. the node's height is at
least the sum of the heights of its choreography labels and the node's width
is at least the width of its widest choreography label.
In this context, a choreography node is a node that is visualized
using a BpmnChoreographyPainter
and a choreography label
is a label that uses ChoreographyLabelModel
as its label model.
- See Also:
BpmnRealizerFactory.createChoreography(ChoreographyTypeEnum, MarkerTypeEnum[])
-
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BpmnChoreographyMinimumSizeProvider
public BpmnChoreographyMinimumSizeProvider()
getMaximumSize
public YDimension getMaximumSize(NodeRealizer context)
- Specified by:
getMaximumSize
in interface GenericNodeRealizer.GenericSizeConstraintProvider
getMinimumSize
public YDimension getMinimumSize(NodeRealizer context)
- Specified by:
getMinimumSize
in interface GenericNodeRealizer.GenericSizeConstraintProvider