Interface IWorkflowBpmnTwoChildAlignmentItem<Value, First extends IWorkflowBpmnAlignmentItem<?,?>, Second extends IWorkflowBpmnAlignmentItem<?,?>>
- Type Parameters:
Value- The value of this alignment item.First- The type of the first child alignment item.Second- The type of the second child alignment item.
- All Superinterfaces:
IWorkflowBpmnAlignmentItem<Value, IWorkflowBpmnAlignmentItem<?,?>>
public interface IWorkflowBpmnTwoChildAlignmentItem<Value, First extends IWorkflowBpmnAlignmentItem<?,?>, Second extends IWorkflowBpmnAlignmentItem<?,?>>
extends IWorkflowBpmnAlignmentItem<Value, IWorkflowBpmnAlignmentItem<?,?>>
An
alignment item with exactly two children. For example, when laying out a
StartEvent with a StyledBpmnLabel beneath it, the layouter will return an instance of this interface:
IWorkflowBpmnTwoChildAlignmentItem<String, IWorkflowBpmnAlignmentItem<StartEvent, ?>,
IWorkflowBpmnAlignmentItem<StyledBpmnLabel, ?>>.- Since:
- 8.4.0
-
Method Summary
Modifier and TypeMethodDescriptionPositioned<? extends First, Point2DDouble> first()Gets the first alignment item.Positioned<? extends Second, Point2DDouble> second()Gets the second alignment item.Methods inherited from interface IWorkflowBpmnAlignmentItem
boundingBox, childAlignmentItems, inPort, outPort, point, point, portDirection, value
-
Method Details
-
first
Positioned<? extends First, Point2DDouble> first()Gets the first alignment item.- Returns:
- The first alignment item.
-
second
Positioned<? extends Second, Point2DDouble> second()Gets the second alignment item.- Returns:
- The second alignment item.
-