Interface IWorkflowBpmnLayoutPortSelectionOptionsBuilder<Self extends IWorkflowBpmnLayoutPortSelectionOptionsBuilder<Self,Selector> , Selector>
- All Known Subinterfaces:
IWorkflowBpmnLayoutAlignAroundBuilder, IWorkflowBpmnLayoutAlignAtAxisBuilder
public interface IWorkflowBpmnLayoutPortSelectionOptionsBuilder<Self extends IWorkflowBpmnLayoutPortSelectionOptionsBuilder<Self,Selector>, Selector>
-
Method Summary
Modifier and TypeMethodDescriptioninPortOfItemAt(int index) Shortcut for setting theportto a selector that uses the position of the in port of the i-th aligned item.outPortOfItemAt(int index) Shortcut for setting theportto a selector that uses the position of the out port of the i-th aligned item.By default, no in port is set for the resultingIWorkflowBpmnAlignmentItem.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.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.portsOfItemAt(int index) Shortcut for setting theportto a selector that uses the position of the in/out ports of the i-th aligned item.portsOfItemAtDefaultToOppositePort(int index)
-
Method Details
-
inPortOfItemAt
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
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
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
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
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
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
-