Interface IWorkflowBpmnLayoutCardinalDirectionOptionsBuilder<Self extends IWorkflowBpmnLayoutCardinalDirectionOptionsBuilder<Self>>
-
- Type Parameters:
Self
- The type of the builder itself.
- All Known Subinterfaces:
IWorkflowBpmnLayoutAlignAroundBuilder
,IWorkflowBpmnLayoutAlignAtAxisBuilder
public interface IWorkflowBpmnLayoutCardinalDirectionOptionsBuilder<Self extends IWorkflowBpmnLayoutCardinalDirectionOptionsBuilder<Self>>
Builder for layouts that allow setting the coordinate axis and axis direction in which to align the items.- Since:
- 8.4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Self
crossFlowDirection()
Self
direction(ECardinalDirection2D direction)
Sets the cardinal direction in which to align the items.Self
directionRelativeToFlow(UnaryOperator<ECardinalDirection2D> direction)
Sets the direction along which to align the items.Self
flowDirection()
Self
reverseCrossFlowDirection()
Self
reverseFlowDirection()
-
-
-
Method Detail
-
direction
@CanIgnoreReturnValue Self direction(ECardinalDirection2D direction)
Sets the cardinal direction in which to align the items. The (i+1)-th item is placed in this direction relative to the i-th item. Defaults to a direction that is suitable for the current flow direction.- Returns:
- This builder for chaining.
-
crossFlowDirection
@CanIgnoreReturnValue Self crossFlowDirection()
Sets thedirection
to the crossflow direction
of thelayout settings
. The cross flow direction is orthogonal to the flow direction, and pointing to the left when looking in the flow direction.- Returns:
- This builder for chaining.
-
directionRelativeToFlow
@CanIgnoreReturnValue Self directionRelativeToFlow(UnaryOperator<ECardinalDirection2D> direction)
Sets the direction along which to align the items. The function is given the target flow direction for the BPMN diagram and must return the direction along which to align the items.- Parameters:
direction
- The function to determine the direction along which to align the items.- Returns:
- This builder for chaining.
-
flowDirection
@CanIgnoreReturnValue Self flowDirection()
- Returns:
- This builder for chaining.
-
reverseCrossFlowDirection
@CanIgnoreReturnValue Self reverseCrossFlowDirection()
Sets thedirection
to the opposite of the crossflow direction
of thelayout settings
. The cross flow direction is orthogonal to the flow direction, and pointing to the left when looking in the flow direction.- Returns:
- This builder for chaining.
-
reverseFlowDirection
@CanIgnoreReturnValue Self reverseFlowDirection()
- Returns:
- This builder for chaining.
-
-