Interface IWorkflowBpmnLayoutSpacingSelectorOptionsBuilder<Self extends IWorkflowBpmnLayoutSpacingSelectorOptionsBuilder<Self>>
-
- Type Parameters:
Self
- The type of the builder itself.
- All Superinterfaces:
IWorkflowBpmnLayoutSpacingOptionsBuilder<Self>
- All Known Subinterfaces:
IWorkflowBpmnLayoutAlignAtAxisBuilder
,IWorkflowBpmnLayoutAlignAtPortsBuilder
public interface IWorkflowBpmnLayoutSpacingSelectorOptionsBuilder<Self extends IWorkflowBpmnLayoutSpacingSelectorOptionsBuilder<Self>> extends IWorkflowBpmnLayoutSpacingOptionsBuilder<Self>
Builder for layouts that allow setting the spacing between items via a custom selector function.- Since:
- 8.4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Self
coalesceEmptyItems()
Removes spacing between empty items in the alignment.Self
coalesceEmptyItems(boolean coalesceEmptyItems)
When true, removes spacing between empty items in the alignment.Self
spacing(IWorkflowBpmnCardinalAlignmentSpacingSelector spacingSelector)
Sets a custom selector for the spacing between consecutive aligned items.-
Methods inherited from interface de.xima.fc.interfaces.workflow.bpmn.IWorkflowBpmnLayoutSpacingOptionsBuilder
crossFlowDirectionSpacing, crossFlowDirectionSpacing, flowDirectionSpacing, flowDirectionSpacing, spacing
-
-
-
-
Method Detail
-
coalesceEmptyItems
@CanIgnoreReturnValue Self coalesceEmptyItems()
Removes spacing between empty items in the alignment. This is useful when you do not wish for the final layout to become larger than necessary due to empty items. Defaults to false.- Returns:
- This builder for chaining.
-
coalesceEmptyItems
@CanIgnoreReturnValue Self coalesceEmptyItems(boolean coalesceEmptyItems)
When true, removes spacing between empty items in the alignment. This is useful when you do not wish for the final layout to become larger than necessary due to empty items. Defaults to false.- Parameters:
coalesceEmptyItems
- When true, empty items are coalesced.- Returns:
- This builder for chaining.
-
spacing
@CanIgnoreReturnValue Self spacing(IWorkflowBpmnCardinalAlignmentSpacingSelector spacingSelector)
Sets a custom selector for the spacing between consecutive aligned items.- Parameters:
spacingSelector
- The spacing selector to use for determining the spacing between aligned items.- Returns:
- This builder instance for method chaining.
-
-