Class WorkflowBpmnAlignmentItems


  • public final class WorkflowBpmnAlignmentItems
    extends Object
    • Method Detail

      • emptyAlignmentItem

        public static <V,​C extends IWorkflowBpmnAlignmentItem<?,​?>> IWorkflowBpmnAlignmentItem<V,​C> emptyAlignmentItem()
        Creates an empty alignment item with no in / out ports and an empty bounding box.
        Type Parameters:
        V - The type of the value.
        C - The type of the children.
        Returns:
        The empty alignment item.
      • emptyPassThroughItem

        public static <V,​C extends IWorkflowBpmnAlignmentItem<?,​?>> IWorkflowBpmnAlignmentItem<V,​C> emptyPassThroughItem​(ECardinalDirection2D direction)
        Creates an empty alignment item with an empty bounding box that passes through the control flow from the in port to the out port. Both ports are located at 0.
        Type Parameters:
        V - The type of the value.
        C - The type of the children.
        Parameters:
        direction - The direction of the out port, see portDirection.
        Returns:
        The empty alignment item.