Interface IWorkflowBpmnLayoutPortSelectionOptionsBuilder<Self extends IWorkflowBpmnLayoutPortSelectionOptionsBuilder<Self,Selector>,Selector>
-
- All Known Subinterfaces:
IWorkflowBpmnLayoutAlignAroundBuilder,IWorkflowBpmnLayoutAlignAtAxisBuilder
public interface IWorkflowBpmnLayoutPortSelectionOptionsBuilder<Self extends IWorkflowBpmnLayoutPortSelectionOptionsBuilder<Self,Selector>,Selector>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SelfinPortOfItemAt(int index)Shortcut for setting theportto a selector that uses the position of the in port of the i-th aligned item.SelfoutPortOfItemAt(int index)Shortcut for setting theportto a selector that uses the position of the out port of the i-th aligned item.Selfports(Selector portSelector)By default, no in port is set for the resultingIWorkflowBpmnAlignmentItem.SelfportsOfFirstAndLastItem()Shortcut for setting theportto a selector that uses the position in port of the first aligned item and the out port of the last aligned item.SelfportsOfFirstAndLastItemDefaultToOppositePort()Shortcut for setting theportto a selector that uses the position in port of the first aligned item and the out port of the last aligned item.SelfportsOfItemAt(int index)Shortcut for setting theportto a selector that uses the position of the in/out ports of the i-th aligned item.SelfportsOfItemAtDefaultToOppositePort(int index)
-
-
-
Method Detail
-
inPortOfItemAt
@CanIgnoreReturnValue Self inPortOfItemAt(int index)
Shortcut for setting theportto 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 theportto 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 resultingIWorkflowBpmnAlignmentItem. 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 theportto a selector that uses the position in port of the first aligned item and the out port of the last aligned item. Requires that theport directionof 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 theportto 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 theport directionof 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 theportto 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)
-
-