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 polarityin which to align the items.- Since:
- 8.4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SelfcrossFlowPolarity()SelfflowPolarity()Selfpolarity(EAxisPolarity polarity)Sets the axis polarity in which the items are aligned.
-
-
-
Method Detail
-
crossFlowPolarity
@CanIgnoreReturnValue Self crossFlowPolarity()
Sets thepolarityto the crossflow directionof 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 thepolarityto theflow directionof 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,POSITIVEalign the items left-to-right, whileNEGATIVEaligns them right-to-left.- Parameters:
polarity- The polarity in which to align the items.- Returns:
- This builder for chaining method calls.
-
-