Interface IWorkflowBpmnLayoutAxisDirectionOptionsBuilder<Self extends IWorkflowBpmnLayoutAxisDirectionOptionsBuilder<Self>>
-
- Type Parameters:
Self
- The type of the builder itself.
- All Known Subinterfaces:
IWorkflowBpmnLayoutAlignAtAxisBuilder
,IWorkflowBpmnLayoutAlignAtPortsBuilder
public interface IWorkflowBpmnLayoutAxisDirectionOptionsBuilder<Self extends IWorkflowBpmnLayoutAxisDirectionOptionsBuilder<Self>>
Builder for layouts that allow setting theaxis polarity
in which to align the items.- Since:
- 8.4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Self
crossFlowPolarity()
Self
flowPolarity()
Self
polarity(EAxisPolarity polarity)
Sets the axis polarity in which the items are aligned.
-
-
-
Method Detail
-
crossFlowPolarity
@CanIgnoreReturnValue Self crossFlowPolarity()
Sets thepolarity
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 method calls.
-
flowPolarity
@CanIgnoreReturnValue Self flowPolarity()
Sets thepolarity
to theflow direction
of thelayout settings
. The flow direction is the main direction in which the items are laid out in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
polarity
@CanIgnoreReturnValue Self polarity(EAxisPolarity polarity)
Sets the axis polarity in which the items are aligned. They are always in the flow direction, but you can choose whether to align them in the positive or negative polarity of the flow. For example, if the flow is left-to-right,POSITIVE
align the items left-to-right, whileNEGATIVE
aligns them right-to-left.- Parameters:
polarity
- The polarity in which to align the items.- Returns:
- This builder for chaining method calls.
-
-