Interface IWorkflowBpmnLayoutPortSelectionOptionsBuilder<Self extends IWorkflowBpmnLayoutPortSelectionOptionsBuilder<Self,Selector>, Selector>

All Known Subinterfaces:
IWorkflowBpmnLayoutAlignAroundBuilder, IWorkflowBpmnLayoutAlignAtAxisBuilder

public interface IWorkflowBpmnLayoutPortSelectionOptionsBuilder<Self extends IWorkflowBpmnLayoutPortSelectionOptionsBuilder<Self,Selector>, Selector>
  • Method Details

    • inPortOfItemAt

      @CanIgnoreReturnValue Self inPortOfItemAt(int index)
      Shortcut for setting the port to a selector that uses the position of the in port of the i-th aligned item.
      Parameters:
      index - The index of the item to use for the in port position. The index is 0-based. -1 means the last item, -2 the second to last item, etc.
      Returns:
      This builder for chaining method calls.
    • outPortOfItemAt

      @CanIgnoreReturnValue Self outPortOfItemAt(int index)
      Shortcut for setting the port to a selector that uses the position of the out port of the i-th aligned item.
      Parameters:
      index - The index of the item to use for the in port position. The index is 0-based. -1 means the last item, -2 the second to last item, etc.
      Returns:
      This builder for chaining method calls.
    • ports

      @CanIgnoreReturnValue Self ports(Selector portSelector)
      By default, no in port is set for the resulting IWorkflowBpmnAlignmentItem. This method lets you choose a port dynamically, based on the aligned items.
      Parameters:
      portSelector - The selector to use for the port. The selector is called once after all items were aligned.
      Returns:
      This builder for chaining method calls.
    • portsOfFirstAndLastItem

      @CanIgnoreReturnValue Self portsOfFirstAndLastItem()
      Shortcut for setting the port to a selector that uses the position in port of the first aligned item and the out port of the last aligned item. Requires that the port direction of both items is the same. If different, does not select any ports.
      Returns:
      This builder for chaining method calls.
    • portsOfFirstAndLastItemDefaultToOppositePort

      @CanIgnoreReturnValue Self portsOfFirstAndLastItemDefaultToOppositePort()
      Shortcut for setting the port to a selector that uses the position in port of the first aligned item and the out port of the last aligned item. If the in or out port is missing, uses the out or in port instead. Requires that the port direction of both items is the same. If different, does not select any ports.
      Returns:
      This builder for chaining method calls.
    • portsOfItemAt

      @CanIgnoreReturnValue Self portsOfItemAt(int index)
      Shortcut for setting the port to a selector that uses the position of the in/out ports of the i-th aligned item.
      Parameters:
      index - The index of the item to use for the in port position. The index is 0-based. -1 means the last item, -2 the second to last item, etc.
      Returns:
      This builder for chaining method calls.
    • portsOfItemAtDefaultToOppositePort

      @CanIgnoreReturnValue Self portsOfItemAtDefaultToOppositePort(int index)