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 BPMNGateway
.- Since:
- 8.4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description <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.IWorkflowBpmnLayoutGatewayBuilder
height(double height)
The height of the gateway rhombus.IWorkflowBpmnLayoutGatewayBuilder
inPort()
Adds an in port to the gateway.IWorkflowBpmnLayoutGatewayBuilder
outPort()
Adds an out port to the gateway.IWorkflowBpmnLayoutGatewayBuilder
width(double width)
The width of the gateway rhombus.-
Methods inherited from interface de.xima.fc.interfaces.workflow.bpmn.IWorkflowBpmnLayoutAnnotatedElementBuilder
annotation, annotation, annotationDirection, annotationDirection, annotationDirection, annotationSpacing, annotationTextLayoutSettings
-
Methods inherited from interface de.xima.fc.interfaces.workflow.bpmn.IWorkflowBpmnLayoutNamedBuilder
name, name, nameTextLayoutSettings
-
Methods inherited from interface de.xima.fc.interfaces.workflow.bpmn.IWorkflowBpmnLayoutNamedOutsideBuilder
nameDirection, nameDirection, nameDirection, nameSpacing
-
Methods inherited from interface de.xima.fc.interfaces.workflow.bpmn.IWorkflowBpmnLayoutPortDirectionOptionsBuilder
portDirection, portDirection
-
-
-
-
Method Detail
-
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
IWorkflowBpmnLayoutGatewayBuilder height(double 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
IWorkflowBpmnLayoutGatewayBuilder width(double 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.
-
-