Interface IWorkflowBpmnLayoutGatewayBuilder
- All Superinterfaces:
IWorkflowBpmnLayoutAnnotatedElementBuilder<IWorkflowBpmnLayoutGatewayBuilder>, IWorkflowBpmnLayoutNamedBuilder<IWorkflowBpmnLayoutGatewayBuilder>, IWorkflowBpmnLayoutNamedOutsideBuilder<IWorkflowBpmnLayoutGatewayBuilder>, IWorkflowBpmnLayoutPortDirectionOptionsBuilder<IWorkflowBpmnLayoutGatewayBuilder>
public interface IWorkflowBpmnLayoutGatewayBuilder
extends IWorkflowBpmnLayoutPortDirectionOptionsBuilder<IWorkflowBpmnLayoutGatewayBuilder>, IWorkflowBpmnLayoutNamedOutsideBuilder<IWorkflowBpmnLayoutGatewayBuilder>, IWorkflowBpmnLayoutAnnotatedElementBuilder<IWorkflowBpmnLayoutGatewayBuilder>
Builder for the layout of a BPMN
Gateway.- Since:
- 8.4.0
-
Method Summary
Modifier and TypeMethodDescription<G extends de.xima.bpmn_model.api.element.bpmn.gateways.Gateway<?>>
IAnnotatedNamedBpmnElementLayout<G> build(G gateway) Creates the layout for the given gateway, using the current layout settings.height(double height) The height of the gateway rhombus.inPort()Adds an in port to the gateway.outPort()Adds an out port to the gateway.width(double width) The width of the gateway rhombus.Methods inherited from interface IWorkflowBpmnLayoutAnnotatedElementBuilder
annotation, annotation, annotationDirection, annotationDirection, annotationDirection, annotationSpacing, annotationTextLayoutSettingsMethods inherited from interface IWorkflowBpmnLayoutNamedBuilder
name, name, nameTextLayoutSettingsMethods inherited from interface IWorkflowBpmnLayoutNamedOutsideBuilder
nameDirection, nameDirection, nameDirection, nameSpacingMethods inherited from interface IWorkflowBpmnLayoutPortDirectionOptionsBuilder
portDirection, portDirection
-
Method Details
-
build
<G extends de.xima.bpmn_model.api.element.bpmn.gateways.Gateway<?>> IAnnotatedNamedBpmnElementLayout<G> build(G gateway) Creates the layout for the given gateway, using the current layout settings.- Type Parameters:
G- The type of the gateway.- Parameters:
gateway- The gateway to create the layout for.- Returns:
- The layout for the gateway.
-
height
The height of the gateway rhombus. Defaults to the layout settings' default gateway height for the given type of gateway, e.g. theexclusive gateway height.- Parameters:
height- The height of the gateway rhombus.- Returns:
- This builder for chaining method calls.
-
inPort
IWorkflowBpmnLayoutGatewayBuilder inPort()Adds an in port to the gateway.- Returns:
- This builder for chaining method calls.
-
outPort
IWorkflowBpmnLayoutGatewayBuilder outPort()Adds an out port to the gateway.- Returns:
- This builder for chaining method calls.
-
width
The width of the gateway rhombus. Defaults to the layout settings' default gateway width for the given type of gateway, e.g. theexclusive gateway width.- Parameters:
width- The width of the gateway rhombus.- Returns:
- This builder for chaining method calls.
-