Package de.xima.fc.common.workflow.bpmn
Class WorkflowBpmnLayoutSettings.Builder
- java.lang.Object
-
- de.xima.fc.common.workflow.bpmn.WorkflowBpmnLayoutSettings.Builder
-
- Enclosing class:
- WorkflowBpmnLayoutSettings
public static final class WorkflowBpmnLayoutSettings.Builder extends Object
Simple builder for aWorkflowBpmnLayoutSettings
instance.- Since:
- 8.4.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowBpmnLayoutSettings.Builder
associationColor(int defaultAssociationColor)
Set the default color ofassociations
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
boundaryEventColor(int defaultBoundaryEventColor)
Set the default color ofboundary events
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
boundaryEventDiameter(double defaultBoundaryEventDiameter)
Set the default diameter ofboundary events
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
boundaryEventTextAnnotationDistance(double boundaryEventTextAnnotationDistance)
Sets the distance between anboundary event
and its text annotation.WorkflowBpmnLayoutSettings.Builder
boundaryEventTextSettings(WorkflowBpmnTextLayoutSettings boundaryEventTextSettings)
Set the default text settings for (the label of)boundary events
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
boundaryEventTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Set the default text settings for (the text of)boundary events
in the BPMN diagram.IWorkflowBpmnLayoutSettings
build()
Build the settings object.WorkflowBpmnLayoutSettings.Builder
collapseSubProcesses()
Sets theexpanded
attribute of aBPMN shape
to false forSubProcess
.WorkflowBpmnLayoutSettings.Builder
collapseSubProcesses(boolean collapseSubProcesses)
Whether to set theexpanded
attribute of aBPMN shape
to false forSubProcess
.WorkflowBpmnLayoutSettings.Builder
colorize(boolean colorize)
Set whether to colorize the BPMN XML.WorkflowBpmnLayoutSettings.Builder
complexGatewayColor(int defaultComplexGatewayColor)
Set the default color ofcomplex gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
complexGatewayHeight(double complexGatewayHeight)
Set the default height ofcomplex gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
complexGatewayTextAnnotationDistance(double complexGatewayTextAnnotationDistance)
Sets the distance between acomplex gateway
and its text annotation.WorkflowBpmnLayoutSettings.Builder
complexGatewayTextSettings(WorkflowBpmnTextLayoutSettings complexGatewayTextSettings)
Set the default text settings for (the label of)complex gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
complexGatewayTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)complex gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
complexGatewayWidth(double complexGatewayWidth)
Set the default width ofcomplex gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
crossFlowDirectionSpacing(double crossFlowDirectionSpacing)
Set the spacing between elements in the cross flow direction, i.e.WorkflowBpmnLayoutSettings.Builder
dataObjectColor(int defaultDataObjectColor)
Set the default color ofdata objects
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
dataObjectHeight(double dataObjectHeight)
Set the default height ofdata objects
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
dataObjectTextAnnotationDistance(double dataObjectTextAnnotationDistance)
Sets the distance between adata object
and its text annotation.WorkflowBpmnLayoutSettings.Builder
dataObjectTextSettings(WorkflowBpmnTextLayoutSettings defaultDataObjectTextSettings)
Set the default text settings for (the label of)data objects
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
dataObjectTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)data objects
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
dataObjectWidth(double dataObjectWidth)
Set the default width ofdata objects
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
dataStoreColor(int defaultDataStoreColor)
Set the default color ofdata stores
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
dataStoreHeight(double dataStoreHeight)
Set the default height ofdata stores
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
dataStoreTextAnnotationDistance(double dataStoreTextAnnotationDistance)
Sets the distance between adata store
and its text annotation.WorkflowBpmnLayoutSettings.Builder
dataStoreTextSettings(WorkflowBpmnTextLayoutSettings defaultDataStoreTextSettings)
Set the default text settings for (the label of)data stores
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
dataStoreTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)data stores
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
dataStoreWidth(double dataStoreWidth)
Set the default width ofdata stores
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
defaultFlowMarkerLength(double defaultFlowMarkerLength)
Sets the length from the start of adefault
sequence flow
to the end of the default flow marker (a slash).WorkflowBpmnLayoutSettings.Builder
direction(ECardinalDirection2D direction)
Set the direction of the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
endEventColor(int endEventColor)
Set the default color ofend events
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
endEventDiameter(double defaultEndEventDiameter)
Set the default diameter ofend events
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
endEventTextAnnotationDistance(double endEventTextAnnotationDistance)
Sets the distance between anend event
and its text annotation.WorkflowBpmnLayoutSettings.Builder
endEventTextSettings(WorkflowBpmnTextLayoutSettings endEventTextSettings)
Set the default text settings for (the label of)end events
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
endEventTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Set the default text settings for (the text of)end events
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
eventBasedGatewayColor(int defaultEventBasedGatewayColor)
Set the default color ofeventBased gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
eventBasedGatewayHeight(double eventBasedGatewayHeight)
Set the default height ofeventBased gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
eventBasedGatewayTextAnnotationDistance(double eventBasedGatewayTextAnnotationDistance)
Sets the distance between aneventBased gateway
and its text annotation.WorkflowBpmnLayoutSettings.Builder
eventBasedGatewayTextSettings(WorkflowBpmnTextLayoutSettings eventBasedGatewayTextSettings)
Set the default text settings for (the label of)eventBased gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
eventBasedGatewayTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)eventBased gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
eventBasedGatewayWidth(double eventBasedGatewayWidth)
Set the default width ofeventBased gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
eventColor(int eventColor)
Set the default color ofevents
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
eventDiameter(double defaultEventDiameter)
Set the default event diameter of all event types in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
eventTextAnnotationDistance(double eventTextAnnotationDistance)
Sets the distance between anevent
and its text annotation.WorkflowBpmnLayoutSettings.Builder
eventTextSettings(WorkflowBpmnTextLayoutSettings eventTextSettings)
Set the default text settings for (the label of)events
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
eventTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Set the default text settings for (the text of)events
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
exclusiveGatewayColor(int exclusiveGatewayColor)
Set the default color ofexclusive gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
exclusiveGatewayHeight(double exclusiveGatewayHeight)
Set the default height ofexclusive gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
exclusiveGatewayTextAnnotationDistance(double exclusiveGatewayTextAnnotationDistance)
Sets the distance between anexclusive gateway
and its text annotation.WorkflowBpmnLayoutSettings.Builder
exclusiveGatewayTextSettings(WorkflowBpmnTextLayoutSettings exclusiveGatewayTextSettings)
Set the default text settings for (the label of)exclusive gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
exclusiveGatewayTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)exclusive gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
exclusiveGatewayWidth(double exclusiveGatewayWidth)
Set the default width ofexclusive gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
flowDirectionSpacing(double flowDirectionSpacing)
Set the spacing between elements in the flow direction, i.e.WorkflowBpmnLayoutSettings.Builder
fontSizeUnit(Length fontSizeUnit)
Sets the unit for the font size for labels in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
gatewayColor(int gatewayColor)
Set the default color ofgateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
gatewayHeight(double gatewayHeight)
Set the default height ofgateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
gatewayTextAnnotationDistance(double gatewayTextAnnotationDistance)
Sets the distance between agateway
and its text annotation.WorkflowBpmnLayoutSettings.Builder
gatewayTextSettings(WorkflowBpmnTextLayoutSettings gatewayTextSettings)
Set the default text settings for (the label of)gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
gatewayTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
gatewayWidth(double gatewayWidth)
Set the default width ofgateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
inclusiveGatewayColor(int defaultInclusiveGatewayColor)
Set the default color ofinclusive gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
inclusiveGatewayHeight(double inclusiveGatewayHeight)
Set the default height ofinclusive gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
inclusiveGatewayTextAnnotationDistance(double inclusiveGatewayTextAnnotationDistance)
Sets the distance between aninclusive gateway
and its text annotation.WorkflowBpmnLayoutSettings.Builder
inclusiveGatewayTextSettings(WorkflowBpmnTextLayoutSettings inclusiveGatewayTextSettings)
Set the default text settings for (the label of)inclusive gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
inclusiveGatewayTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)inclusive gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
inclusiveGatewayWidth(double inclusiveGatewayWidth)
Set the default width ofinclusive gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
intermediateCatchEventColor(int defaultIntermediateCatchEventColor)
Set the default color ofintermediate catch events
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
intermediateCatchEventDiameter(double defaultIntermediateCatchEventDiameter)
Set the default diameter ofintermediate catch events
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
intermediateCatchEventTextAnnotationDistance(double intermediateCatchEventTextAnnotationDistance)
Sets the distance between anintermediate catch event
and its text annotation.WorkflowBpmnLayoutSettings.Builder
intermediateCatchEventTextSettings(WorkflowBpmnTextLayoutSettings intermediateCatchEventTextSettings)
Set the default text settings for (the label of)intermediate catch events
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
intermediateCatchEventTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Set the default text settings for (the text of)intermediate catch events
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
intermediateThrowEventColor(int defaultIntermediateThrowEventColor)
Set the default color ofintermediate throw events
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
intermediateThrowEventDiameter(double defaultIntermediateThrowEventDiameter)
Set the default diameter ofintermediate throw events
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
intermediateThrowEventTextAnnotationDistance(double intermediateThrowEventTextAnnotationDistance)
Sets the distance between anintermediate throw event
and its text annotation.WorkflowBpmnLayoutSettings.Builder
intermediateThrowEventTextSettings(WorkflowBpmnTextLayoutSettings intermediateThrowEventTextSettings)
Set the default text settings for (the label of)intermediate throw events
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
intermediateThrowEventTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Set the default text settings for (the text of)intermediate throw events
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
laneTextSettings(WorkflowBpmnTextLayoutSettings defaultLaneTextSettings)
Set the default text settings for (the label of)lanes
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
laneTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)lanes
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
nameDistance(double nameDistance)
Sets the distance between anamed element
and its name.WorkflowBpmnLayoutSettings.Builder
nonAbstractTaskMinPadding(double nonAbstractTaskMinPadding)
The minimum amount of padding to apply tonon-abstract
tasks in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
nonAbstractTaskMinPadding(double[] nonAbstractTaskMinPadding)
The minimum amount of padding to apply tonon-abstract
tasks in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
nonAbstractTaskMinPadding(double nonAbstractTaskMinPaddingNorthSouth, double nonAbstractTaskMinPaddingEastWest)
The minimum amount of padding to apply tonon-abstract
tasks in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
nonAbstractTaskMinPadding(double nonAbstractTaskMinPaddingNorth, double nonAbstractTaskMinPaddingEast, double nonAbstractTaskMinPaddingSouth, double nonAbstractTaskMinPaddingWest)
The minimum amount of padding to apply tonon-abstract
tasks in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
nonAbstractTaskMinPadding(ICardinalDirection2DMapDouble nonAbstractTaskMinPadding)
The minimum amount of padding to apply tonon-abstract
tasks in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
otherTextAnnotationDistance(double otherTextAnnotationDistance)
Set the default spacing between an element and its text annotation.WorkflowBpmnLayoutSettings.Builder
parallelGatewayColor(int defaultParallelGatewayColor)
Set the default color ofparallel gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
parallelGatewayHeight(double parallelGatewayHeight)
Set the default height ofparallel gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
parallelGatewayTextAnnotationDistance(double parallelGatewayTextAnnotationDistance)
Sets the distance between aparallel gateway
and its text annotation.WorkflowBpmnLayoutSettings.Builder
parallelGatewayTextSettings(WorkflowBpmnTextLayoutSettings parallelGatewayTextSettings)
Set the default text settings for (the label of)parallel gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
parallelGatewayTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)parallel gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
parallelGatewayWidth(double parallelGatewayWidth)
Set the default width ofparallel gateways
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
participantHeaderPadding(double participantHeaderPadding)
Sets the padding for the header of aparticipant
(sometimes called pool) in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
participantTextSettings(WorkflowBpmnTextLayoutSettings defaultParticipantTextSettings)
Set the default text settings for (the label of)participants
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
participantTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)participants
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
sequenceFlowColor(int defaultSequenceFlowColor)
Set the default color ofsequence flows
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
sequenceFlowLabelSpacing(double sequenceFlowLabelSpacing)
Sets the label spacing for sequence flows.WorkflowBpmnLayoutSettings.Builder
sequenceFlowTextSettings(WorkflowBpmnTextLayoutSettings defaultSequenceFlowTextSettings)
Set the default text settings for (the label of)sequence flows
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
sequenceFlowTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)sequence flows
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
startEventColor(int defaultStartEventColor)
Set the default color ofstart events
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
startEventDiameter(double defaultStartEventDiameter)
Set the default diameter ofstart events
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
startEventTextAnnotationDistance(double startEventTextAnnotationDistance)
Sets the distance between anstart event
and its text annotation.WorkflowBpmnLayoutSettings.Builder
startEventTextSettings(WorkflowBpmnTextLayoutSettings startEventTextSettings)
Set the default text settings for (the label of)start events
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
startEventTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Set the default text settings for (the text of)start events
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
subProcessHeaderPadding(double subProcessHeaderPadding)
The padding for the header of asub process
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
subProcessNameAlignmentOffset(double subProcessNameAlignmentOffset)
Controls the alignment of asub process
's name in the BPMN diagram in the horizontal direction, together withsubProcessNameAlignmentRatio
.WorkflowBpmnLayoutSettings.Builder
subProcessNameAlignmentRatio(double subProcessNameAlignmentRatio)
Controls the alignment of asub process
's name in the BPMN diagram in the horizontal direction, together withsubProcessNameAlignmentOffset
.WorkflowBpmnLayoutSettings.Builder
subProcessTextAnnotationDistance(double subProcessTextAnnotationDistance)
Sets the distance between asub process
and its text annotation.WorkflowBpmnLayoutSettings.Builder
subProcessTextSettings(WorkflowBpmnTextLayoutSettings subProcessTextSettings)
Set the default text settings for (the label of)sub processes
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
subProcessTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)sub processes
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
taskColor(int defaultTaskColor)
Set the default color oftasks
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
taskHeight(double defaultTaskHeight)
Set the default height oftasks
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
taskPadding(double padding)
Sets the padding to apply to tasks in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
taskPadding(double[] padding)
Sets the padding to apply to tasks in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
taskPadding(double northSouth, double eastWest)
Sets the padding to apply to tasks in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
taskPadding(double north, double east, double south, double west)
Sets the padding to apply to tasks in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
taskPadding(ICardinalDirection2DMapDouble padding)
Sets the padding to apply to tasks in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
taskTextAnnotationDistance(double taskTextAnnotationDistance)
Sets the distance between atask
and its text annotation.WorkflowBpmnLayoutSettings.Builder
taskTextSettings(WorkflowBpmnTextLayoutSettings taskTextSettings)
Set the default text settings for (the label of)tasks
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
taskTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)tasks
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
taskWidth(double defaultTaskWidth)
Set the default width oftasks
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
textAnnotationColor(int defaultTextAnnotationColor)
Set the default color oftext annotations
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
textAnnotationPadding(double padding)
Sets the padding to apply to text annotations in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
textAnnotationPadding(double[] padding)
Sets the padding to apply to text annotations in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
textAnnotationPadding(double northSouth, double eastWest)
Sets the padding to apply to text annotations in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
textAnnotationPadding(double north, double east, double south, double west)
Sets the padding to apply to text annotations in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
textAnnotationPadding(ICardinalDirection2DMapDouble padding)
Sets the padding to apply to text annotations in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
textAnnotationTextSettings(WorkflowBpmnTextLayoutSettings defaultTextAnnotationTextSettings)
Set the default text settings for (the text of)text annotations
in the BPMN diagram.WorkflowBpmnLayoutSettings.Builder
textAnnotationTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the text of)text annotations
in the BPMN diagram.
-
-
-
Method Detail
-
associationColor
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder associationColor(int defaultAssociationColor)
Set the default color ofassociations
in the BPMN diagram.- Parameters:
defaultAssociationColor
- The default color of associations in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
boundaryEventColor
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder boundaryEventColor(int defaultBoundaryEventColor)
Set the default color ofboundary events
in the BPMN diagram.- Parameters:
defaultBoundaryEventColor
- The default color of boundary events in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
boundaryEventDiameter
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder boundaryEventDiameter(double defaultBoundaryEventDiameter)
Set the default diameter ofboundary events
in the BPMN diagram.- Parameters:
defaultBoundaryEventDiameter
- The default diameter of boundary throw events in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
boundaryEventTextAnnotationDistance
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder boundaryEventTextAnnotationDistance(double boundaryEventTextAnnotationDistance)
Sets the distance between anboundary event
and its text annotation.- Parameters:
boundaryEventTextAnnotationDistance
- The distance between a boundary event and its text annotation.- Returns:
- This builder for chaining method calls.
-
boundaryEventTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder boundaryEventTextSettings(WorkflowBpmnTextLayoutSettings boundaryEventTextSettings)
Set the default text settings for (the label of)boundary events
in the BPMN diagram.- Parameters:
boundaryEventTextSettings
- The default text settings of boundary events in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
boundaryEventTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder boundaryEventTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Set the default text settings for (the text of)boundary events
in the BPMN diagram.- Parameters:
configurator
- The configurator for the default text settings of boundary events in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
build
public IWorkflowBpmnLayoutSettings build()
Build the settings object. Subsequent changes to the builder will not affect the settings object.- Returns:
- The settings object.
-
collapseSubProcesses
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder collapseSubProcesses()
Sets theexpanded
attribute of aBPMN shape
to false forSubProcess
. May improve compatibility with some tools that prefer collapsed subprocesses.- Returns:
- Whether to collapse subprocesses.
-
collapseSubProcesses
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder collapseSubProcesses(boolean collapseSubProcesses)
Whether to set theexpanded
attribute of aBPMN shape
to false forSubProcess
. May improve compatibility with some tools that prefer collapsed subprocesses.- Parameters:
collapseSubProcesses
- Whether to collapse subprocesses.- Returns:
- This builder for chaining method calls.
-
colorize
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder colorize(boolean colorize)
Set whether to colorize the BPMN XML. Defaults to false.- Parameters:
colorize
- Whether to colorize the BPMN XML. null to use the default.- Returns:
- This builder for chaining method calls.
-
complexGatewayColor
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder complexGatewayColor(int defaultComplexGatewayColor)
Set the default color ofcomplex gateways
in the BPMN diagram.- Parameters:
defaultComplexGatewayColor
- The default color of complex gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
complexGatewayHeight
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder complexGatewayHeight(double complexGatewayHeight)
Set the default height ofcomplex gateways
in the BPMN diagram.- Parameters:
complexGatewayHeight
- The default height of complex gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
complexGatewayTextAnnotationDistance
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder complexGatewayTextAnnotationDistance(double complexGatewayTextAnnotationDistance)
Sets the distance between acomplex gateway
and its text annotation.- Parameters:
complexGatewayTextAnnotationDistance
- The distance between a complex gateway and its text annotation.- Returns:
- This builder for chaining method calls.
-
complexGatewayTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder complexGatewayTextSettings(WorkflowBpmnTextLayoutSettings complexGatewayTextSettings)
Set the default text settings for (the label of)complex gateways
in the BPMN diagram.- Parameters:
complexGatewayTextSettings
- The default text settings of complex gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
complexGatewayTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder complexGatewayTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)complex gateways
in the BPMN diagram.- Parameters:
configurator
- The configurator for the default text settings of complex gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
complexGatewayWidth
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder complexGatewayWidth(double complexGatewayWidth)
Set the default width ofcomplex gateways
in the BPMN diagram.- Parameters:
complexGatewayWidth
- The default width of complex gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
crossFlowDirectionSpacing
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder crossFlowDirectionSpacing(double crossFlowDirectionSpacing)
Set the spacing between elements in the cross flow direction, i.e. the direction perpendicular to themain direction
.- Parameters:
crossFlowDirectionSpacing
- The spacing between elements in the cross flow direction.- Returns:
- This builder for chaining method calls.
-
dataObjectColor
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder dataObjectColor(int defaultDataObjectColor)
Set the default color ofdata objects
in the BPMN diagram.- Parameters:
defaultDataObjectColor
- The default color of data objects in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
dataObjectHeight
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder dataObjectHeight(double dataObjectHeight)
Set the default height ofdata objects
in the BPMN diagram.- Parameters:
dataObjectHeight
- The default height of data objects in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
dataObjectTextAnnotationDistance
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder dataObjectTextAnnotationDistance(double dataObjectTextAnnotationDistance)
Sets the distance between adata object
and its text annotation.- Parameters:
dataObjectTextAnnotationDistance
- The distance between a data object and its text annotation.- Returns:
- This builder for chaining method calls.
-
dataObjectTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder dataObjectTextSettings(WorkflowBpmnTextLayoutSettings defaultDataObjectTextSettings)
Set the default text settings for (the label of)data objects
in the BPMN diagram.- Parameters:
defaultDataObjectTextSettings
- The default text settings of data objects in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
dataObjectTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder dataObjectTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)data objects
in the BPMN diagram.- Parameters:
configurator
- The configurator for the default text settings of data objects in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
dataObjectWidth
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder dataObjectWidth(double dataObjectWidth)
Set the default width ofdata objects
in the BPMN diagram.- Parameters:
dataObjectWidth
- The default width of data objects in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
dataStoreColor
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder dataStoreColor(int defaultDataStoreColor)
Set the default color ofdata stores
in the BPMN diagram.- Parameters:
defaultDataStoreColor
- The default color of data stores in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
dataStoreHeight
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder dataStoreHeight(double dataStoreHeight)
Set the default height ofdata stores
in the BPMN diagram.- Parameters:
dataStoreHeight
- The default height of data stores in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
dataStoreTextAnnotationDistance
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder dataStoreTextAnnotationDistance(double dataStoreTextAnnotationDistance)
Sets the distance between adata store
and its text annotation.- Parameters:
dataStoreTextAnnotationDistance
- The distance between a data store and its text annotation.- Returns:
- This builder for chaining method calls.
-
dataStoreTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder dataStoreTextSettings(WorkflowBpmnTextLayoutSettings defaultDataStoreTextSettings)
Set the default text settings for (the label of)data stores
in the BPMN diagram.- Parameters:
defaultDataStoreTextSettings
- The default text settings of data stores in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
dataStoreTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder dataStoreTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)data stores
in the BPMN diagram.- Parameters:
configurator
- The configurator for the default text settings of data stores in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
dataStoreWidth
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder dataStoreWidth(double dataStoreWidth)
Set the default width ofdata stores
in the BPMN diagram.- Parameters:
dataStoreWidth
- The default Width of data stores in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
defaultFlowMarkerLength
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder defaultFlowMarkerLength(double defaultFlowMarkerLength)
Sets the length from the start of adefault
sequence flow
to the end of the default flow marker (a slash). This is used e.g. to offset labels on the sequence flow so that they don't overlap with the default flow marker.- Parameters:
defaultFlowMarkerLength
- The default length from the start of a flow to the end of the default flow marker.- Returns:
- This builder for chaining method calls.
-
direction
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder direction(ECardinalDirection2D direction)
Set the direction of the BPMN diagram. Defaults to horizontal.- Parameters:
direction
- The direction of the BPMN diagram. null to use the default.- Returns:
- This builder for chaining method calls.
-
endEventColor
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder endEventColor(int endEventColor)
Set the default color ofend events
in the BPMN diagram.- Parameters:
endEventColor
- The default color of end events in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
endEventDiameter
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder endEventDiameter(double defaultEndEventDiameter)
Set the default diameter ofend events
in the BPMN diagram.- Parameters:
defaultEndEventDiameter
- The default diameter of end events in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
endEventTextAnnotationDistance
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder endEventTextAnnotationDistance(double endEventTextAnnotationDistance)
Sets the distance between anend event
and its text annotation.- Parameters:
endEventTextAnnotationDistance
- The distance between an end event and its text annotation.- Returns:
- This builder for chaining method calls.
-
endEventTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder endEventTextSettings(WorkflowBpmnTextLayoutSettings endEventTextSettings)
Set the default text settings for (the label of)end events
in the BPMN diagram.- Parameters:
endEventTextSettings
- The default text settings of end events in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
endEventTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder endEventTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Set the default text settings for (the text of)end events
in the BPMN diagram.- Parameters:
configurator
- The configurator for the default text settings of end events in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
eventBasedGatewayColor
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder eventBasedGatewayColor(int defaultEventBasedGatewayColor)
Set the default color ofeventBased gateways
in the BPMN diagram.- Parameters:
defaultEventBasedGatewayColor
- The default color of eventBased gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
eventBasedGatewayHeight
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder eventBasedGatewayHeight(double eventBasedGatewayHeight)
Set the default height ofeventBased gateways
in the BPMN diagram.- Parameters:
eventBasedGatewayHeight
- The default height of eventBased gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
eventBasedGatewayTextAnnotationDistance
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder eventBasedGatewayTextAnnotationDistance(double eventBasedGatewayTextAnnotationDistance)
Sets the distance between aneventBased gateway
and its text annotation.- Parameters:
eventBasedGatewayTextAnnotationDistance
- The distance between an eventBased gateway and its text annotation.- Returns:
- This builder for chaining method calls.
-
eventBasedGatewayTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder eventBasedGatewayTextSettings(WorkflowBpmnTextLayoutSettings eventBasedGatewayTextSettings)
Set the default text settings for (the label of)eventBased gateways
in the BPMN diagram.- Parameters:
eventBasedGatewayTextSettings
- The default text settings of eventBased gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
eventBasedGatewayTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder eventBasedGatewayTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)eventBased gateways
in the BPMN diagram.- Parameters:
configurator
- The configurator for the default text settings of eventBased gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
eventBasedGatewayWidth
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder eventBasedGatewayWidth(double eventBasedGatewayWidth)
Set the default width ofeventBased gateways
in the BPMN diagram.- Parameters:
eventBasedGatewayWidth
- The default width of eventBased gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
eventColor
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder eventColor(int eventColor)
Set the default color ofevents
in the BPMN diagram.- Parameters:
eventColor
- The default color of events in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
eventDiameter
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder eventDiameter(double defaultEventDiameter)
Set the default event diameter of all event types in the BPMN diagram. This will set the same Diameter forboundary events
,end events
,intermediate catch events
,intermediate throw events
, andstart events
.- Parameters:
defaultEventDiameter
- The default event diameter in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
eventTextAnnotationDistance
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder eventTextAnnotationDistance(double eventTextAnnotationDistance)
Sets the distance between anevent
and its text annotation.- Parameters:
eventTextAnnotationDistance
- The distance between an event and its text annotation.- Returns:
- This builder for chaining method calls.
-
eventTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder eventTextSettings(WorkflowBpmnTextLayoutSettings eventTextSettings)
Set the default text settings for (the label of)events
in the BPMN diagram.- Parameters:
eventTextSettings
- The default text settings of events in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
eventTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder eventTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Set the default text settings for (the text of)events
in the BPMN diagram.- Parameters:
configurator
- The configurator for the default text settings of events in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
exclusiveGatewayColor
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder exclusiveGatewayColor(int exclusiveGatewayColor)
Set the default color ofexclusive gateways
in the BPMN diagram.- Parameters:
exclusiveGatewayColor
- The default color of exclusive gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
exclusiveGatewayHeight
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder exclusiveGatewayHeight(double exclusiveGatewayHeight)
Set the default height ofexclusive gateways
in the BPMN diagram.- Parameters:
exclusiveGatewayHeight
- The default height of exclusive gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
exclusiveGatewayTextAnnotationDistance
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder exclusiveGatewayTextAnnotationDistance(double exclusiveGatewayTextAnnotationDistance)
Sets the distance between anexclusive gateway
and its text annotation.- Parameters:
exclusiveGatewayTextAnnotationDistance
- The distance between an exclusive gateway and its text annotation.- Returns:
- This builder for chaining method calls.
-
exclusiveGatewayTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder exclusiveGatewayTextSettings(WorkflowBpmnTextLayoutSettings exclusiveGatewayTextSettings)
Set the default text settings for (the label of)exclusive gateways
in the BPMN diagram.- Parameters:
exclusiveGatewayTextSettings
- The default text settings of exclusive gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
exclusiveGatewayTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder exclusiveGatewayTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)exclusive gateways
in the BPMN diagram.- Parameters:
configurator
- The configurator for the default text settings of exclusive gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
exclusiveGatewayWidth
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder exclusiveGatewayWidth(double exclusiveGatewayWidth)
Set the default width ofexclusive gateways
in the BPMN diagram.- Parameters:
exclusiveGatewayWidth
- The default width of exclusive gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
flowDirectionSpacing
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder flowDirectionSpacing(double flowDirectionSpacing)
Set the spacing between elements in the flow direction, i.e. themain direction
.- Parameters:
flowDirectionSpacing
- The spacing between elements in the flow direction.- Returns:
- This builder for chaining method calls.
-
fontSizeUnit
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder fontSizeUnit(Length fontSizeUnit)
Sets the unit for the font size for labels in the BPMN diagram. The BPMN standard does not specify a unit, but it is common to use pixels.- Parameters:
fontSizeUnit
- The unit for the font size, e.g.LengthUnit.PIXEL
.- Returns:
- This builder for chaining method calls.
-
gatewayColor
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder gatewayColor(int gatewayColor)
Set the default color ofgateways
in the BPMN diagram.- Parameters:
gatewayColor
- The default color of gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
gatewayHeight
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder gatewayHeight(double gatewayHeight)
Set the default height ofgateways
in the BPMN diagram.- Parameters:
gatewayHeight
- The default height of gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
gatewayTextAnnotationDistance
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder gatewayTextAnnotationDistance(double gatewayTextAnnotationDistance)
Sets the distance between agateway
and its text annotation.- Parameters:
gatewayTextAnnotationDistance
- The distance between a gateway and its text annotation.- Returns:
- This builder for chaining method calls.
-
gatewayTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder gatewayTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)gateways
in the BPMN diagram.- Parameters:
configurator
- The configurator for the default text settings of gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
gatewayTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder gatewayTextSettings(WorkflowBpmnTextLayoutSettings gatewayTextSettings)
Set the default text settings for (the label of)gateways
in the BPMN diagram.- Parameters:
gatewayTextSettings
- The default text settings of gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
gatewayWidth
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder gatewayWidth(double gatewayWidth)
Set the default width ofgateways
in the BPMN diagram.- Parameters:
gatewayWidth
- The default width of gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
inclusiveGatewayColor
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder inclusiveGatewayColor(int defaultInclusiveGatewayColor)
Set the default color ofinclusive gateways
in the BPMN diagram.- Parameters:
defaultInclusiveGatewayColor
- The default color of inclusive gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
inclusiveGatewayHeight
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder inclusiveGatewayHeight(double inclusiveGatewayHeight)
Set the default height ofinclusive gateways
in the BPMN diagram.- Parameters:
inclusiveGatewayHeight
- The default height of inclusive gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
inclusiveGatewayTextAnnotationDistance
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder inclusiveGatewayTextAnnotationDistance(double inclusiveGatewayTextAnnotationDistance)
Sets the distance between aninclusive gateway
and its text annotation.- Parameters:
inclusiveGatewayTextAnnotationDistance
- The distance between an inclusive gateway and its text annotation.- Returns:
- This builder for chaining method calls.
-
inclusiveGatewayTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder inclusiveGatewayTextSettings(WorkflowBpmnTextLayoutSettings inclusiveGatewayTextSettings)
Set the default text settings for (the label of)inclusive gateways
in the BPMN diagram.- Parameters:
inclusiveGatewayTextSettings
- The default text settings of inclusive gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
inclusiveGatewayTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder inclusiveGatewayTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)inclusive gateways
in the BPMN diagram.- Parameters:
configurator
- The configurator for the default text settings of inclusive gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
inclusiveGatewayWidth
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder inclusiveGatewayWidth(double inclusiveGatewayWidth)
Set the default width ofinclusive gateways
in the BPMN diagram.- Parameters:
inclusiveGatewayWidth
- The default width of inclusive gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
intermediateCatchEventColor
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder intermediateCatchEventColor(int defaultIntermediateCatchEventColor)
Set the default color ofintermediate catch events
in the BPMN diagram.- Parameters:
defaultIntermediateCatchEventColor
- The default color of intermediate catch events in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
intermediateCatchEventDiameter
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder intermediateCatchEventDiameter(double defaultIntermediateCatchEventDiameter)
Set the default diameter ofintermediate catch events
in the BPMN diagram.- Parameters:
defaultIntermediateCatchEventDiameter
- The default diameter of intermediate catch events in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
intermediateCatchEventTextAnnotationDistance
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder intermediateCatchEventTextAnnotationDistance(double intermediateCatchEventTextAnnotationDistance)
Sets the distance between anintermediate catch event
and its text annotation.- Parameters:
intermediateCatchEventTextAnnotationDistance
- The distance between an intermediate catch event and its text annotation.- Returns:
- This builder for chaining method calls.
-
intermediateCatchEventTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder intermediateCatchEventTextSettings(WorkflowBpmnTextLayoutSettings intermediateCatchEventTextSettings)
Set the default text settings for (the label of)intermediate catch events
in the BPMN diagram.- Parameters:
intermediateCatchEventTextSettings
- The default text settings of intermediate catch events in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
intermediateCatchEventTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder intermediateCatchEventTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Set the default text settings for (the text of)intermediate catch events
in the BPMN diagram.- Parameters:
configurator
- The configurator for the default text settings of intermediate catch events in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
intermediateThrowEventColor
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder intermediateThrowEventColor(int defaultIntermediateThrowEventColor)
Set the default color ofintermediate throw events
in the BPMN diagram.- Parameters:
defaultIntermediateThrowEventColor
- The default color of intermediate throw events in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
intermediateThrowEventDiameter
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder intermediateThrowEventDiameter(double defaultIntermediateThrowEventDiameter)
Set the default diameter ofintermediate throw events
in the BPMN diagram.- Parameters:
defaultIntermediateThrowEventDiameter
- The default diameter of intermediate throw events in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
intermediateThrowEventTextAnnotationDistance
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder intermediateThrowEventTextAnnotationDistance(double intermediateThrowEventTextAnnotationDistance)
Sets the distance between anintermediate throw event
and its text annotation.- Parameters:
intermediateThrowEventTextAnnotationDistance
- The distance between an intermediate throw event and its text annotation.- Returns:
- This builder for chaining method calls.
-
intermediateThrowEventTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder intermediateThrowEventTextSettings(WorkflowBpmnTextLayoutSettings intermediateThrowEventTextSettings)
Set the default text settings for (the label of)intermediate throw events
in the BPMN diagram.- Parameters:
intermediateThrowEventTextSettings
- The default text settings of intermediate throw events in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
intermediateThrowEventTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder intermediateThrowEventTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Set the default text settings for (the text of)intermediate throw events
in the BPMN diagram.- Parameters:
configurator
- The configurator for the default text settings of intermediate throw events in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
laneTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder laneTextSettings(WorkflowBpmnTextLayoutSettings defaultLaneTextSettings)
Set the default text settings for (the label of)lanes
in the BPMN diagram.- Parameters:
defaultLaneTextSettings
- The default text settings of lanes in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
laneTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder laneTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)lanes
in the BPMN diagram.- Parameters:
configurator
- The configurator for the default text settings of lanes in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
nameDistance
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder nameDistance(double nameDistance)
Sets the distance between anamed element
and its name.- Parameters:
nameDistance
- The distance between a named element and its name.- Returns:
- This builder for chaining method calls.
-
nonAbstractTaskMinPadding
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder nonAbstractTaskMinPadding(double nonAbstractTaskMinPadding)
The minimum amount of padding to apply tonon-abstract
tasks in the BPMN diagram. Used e.g. to make room for the marker icon that indicates the task's type, such as a gear icon for a service task, or a user icon for a user task.- Parameters:
nonAbstractTaskMinPadding
- The minimum padding in all directions for non-abstract tasks in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
nonAbstractTaskMinPadding
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder nonAbstractTaskMinPadding(double nonAbstractTaskMinPaddingNorthSouth, double nonAbstractTaskMinPaddingEastWest)
The minimum amount of padding to apply tonon-abstract
tasks in the BPMN diagram. Used e.g. to make room for the marker icon that indicates the task's type, such as a gear icon for a service task, or a user icon for a user task.- Parameters:
nonAbstractTaskMinPaddingNorthSouth
- The minimum padding in the north and south directions for non-abstract tasks in the BPMN diagram.nonAbstractTaskMinPaddingEastWest
- The minimum padding in the east and west directions for non-abstract tasks in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
nonAbstractTaskMinPadding
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder nonAbstractTaskMinPadding(double nonAbstractTaskMinPaddingNorth, double nonAbstractTaskMinPaddingEast, double nonAbstractTaskMinPaddingSouth, double nonAbstractTaskMinPaddingWest)
The minimum amount of padding to apply tonon-abstract
tasks in the BPMN diagram. Used e.g. to make room for the marker icon that indicates the task's type, such as a gear icon for a service task, or a user icon for a user task.- Parameters:
nonAbstractTaskMinPaddingNorth
- The minimum padding in the north directions for non-abstract tasks in the BPMN diagram.nonAbstractTaskMinPaddingEast
- The minimum padding in the east directions for non-abstract tasks in the BPMN diagram.nonAbstractTaskMinPaddingSouth
- The minimum padding in the south directions for non-abstract tasks in the BPMN diagram.nonAbstractTaskMinPaddingWest
- The minimum padding in the west directions for non-abstract tasks in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
nonAbstractTaskMinPadding
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder nonAbstractTaskMinPadding(double[] nonAbstractTaskMinPadding)
The minimum amount of padding to apply tonon-abstract
tasks in the BPMN diagram. Used e.g. to make room for the marker icon that indicates the task's type, such as a gear icon for a service task, or a user icon for a user task.- Parameters:
nonAbstractTaskMinPadding
- The minimum padding in all directions for non-abstract tasks in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
nonAbstractTaskMinPadding
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder nonAbstractTaskMinPadding(ICardinalDirection2DMapDouble nonAbstractTaskMinPadding)
The minimum amount of padding to apply tonon-abstract
tasks in the BPMN diagram. Used e.g. to make room for the marker icon that indicates the task's type, such as a gear icon for a service task, or a user icon for a user task.- Parameters:
nonAbstractTaskMinPadding
- The minimum padding for non-abstract tasks in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
otherTextAnnotationDistance
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder otherTextAnnotationDistance(double otherTextAnnotationDistance)
Set the default spacing between an element and its text annotation.- Parameters:
otherTextAnnotationDistance
- Spacing between an element and its text annotation.- Returns:
- This builder for chaining method calls.
-
parallelGatewayColor
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder parallelGatewayColor(int defaultParallelGatewayColor)
Set the default color ofparallel gateways
in the BPMN diagram.- Parameters:
defaultParallelGatewayColor
- The default color of parallel gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
parallelGatewayHeight
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder parallelGatewayHeight(double parallelGatewayHeight)
Set the default height ofparallel gateways
in the BPMN diagram.- Parameters:
parallelGatewayHeight
- The default height of parallel gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
parallelGatewayTextAnnotationDistance
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder parallelGatewayTextAnnotationDistance(double parallelGatewayTextAnnotationDistance)
Sets the distance between aparallel gateway
and its text annotation.- Parameters:
parallelGatewayTextAnnotationDistance
- The distance between a parallel gateway and its text annotation.- Returns:
- This builder for chaining method calls.
-
parallelGatewayTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder parallelGatewayTextSettings(WorkflowBpmnTextLayoutSettings parallelGatewayTextSettings)
Set the default text settings for (the label of)parallel gateways
in the BPMN diagram.- Parameters:
parallelGatewayTextSettings
- The default text settings of parallel gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
parallelGatewayTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder parallelGatewayTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)parallel gateways
in the BPMN diagram.- Parameters:
configurator
- The configurator for the default text settings of parallel gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
parallelGatewayWidth
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder parallelGatewayWidth(double parallelGatewayWidth)
Set the default width ofparallel gateways
in the BPMN diagram.- Parameters:
parallelGatewayWidth
- The default width of parallel gateways in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
participantHeaderPadding
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder participantHeaderPadding(double participantHeaderPadding)
Sets the padding for the header of aparticipant
(sometimes called pool) in the BPMN diagram. The header contains the name of the participant and is rendered either to the left or on top of the participant's lanes, depending on theflow direction
. The BPMN spec does not specify a padding, some tools work with arbitrary values, some tools require a specific value.- Parameters:
participantHeaderPadding
- The padding for the header of a participant in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
participantTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder participantTextSettings(WorkflowBpmnTextLayoutSettings defaultParticipantTextSettings)
Set the default text settings for (the label of)participants
in the BPMN diagram.- Parameters:
defaultParticipantTextSettings
- The default text settings of participants in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
participantTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder participantTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)participants
in the BPMN diagram.- Parameters:
configurator
- The configurator for the default text settings of participants in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
sequenceFlowColor
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder sequenceFlowColor(int defaultSequenceFlowColor)
Set the default color ofsequence flows
in the BPMN diagram.- Parameters:
defaultSequenceFlowColor
- The default color of sequence flows in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
sequenceFlowLabelSpacing
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder sequenceFlowLabelSpacing(double sequenceFlowLabelSpacing)
Sets the label spacing for sequence flows. When placing a label next to a sequence flow, this is the spacing between the sequence flow line and the label text.- Returns:
- The spacing between the sequence flow line and the label text.
-
sequenceFlowTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder sequenceFlowTextSettings(WorkflowBpmnTextLayoutSettings defaultSequenceFlowTextSettings)
Set the default text settings for (the label of)sequence flows
in the BPMN diagram.- Parameters:
defaultSequenceFlowTextSettings
- The default text settings of sequence flows in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
sequenceFlowTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder sequenceFlowTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)sequence flows
in the BPMN diagram.- Parameters:
configurator
- The configurator for the default text settings of sequence flows in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
startEventColor
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder startEventColor(int defaultStartEventColor)
Set the default color ofstart events
in the BPMN diagram.- Parameters:
defaultStartEventColor
- The default color of start events in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
startEventDiameter
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder startEventDiameter(double defaultStartEventDiameter)
Set the default diameter ofstart events
in the BPMN diagram.- Parameters:
defaultStartEventDiameter
- The default diameter of start events in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
startEventTextAnnotationDistance
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder startEventTextAnnotationDistance(double startEventTextAnnotationDistance)
Sets the distance between anstart event
and its text annotation.- Parameters:
startEventTextAnnotationDistance
- The distance between a start event and its text annotation.- Returns:
- This builder for chaining method calls.
-
startEventTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder startEventTextSettings(WorkflowBpmnTextLayoutSettings startEventTextSettings)
Set the default text settings for (the label of)start events
in the BPMN diagram.- Parameters:
startEventTextSettings
- The default text settings of start events in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
startEventTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder startEventTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Set the default text settings for (the text of)start events
in the BPMN diagram.- Parameters:
configurator
- The configurator for the default text settings of start events in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
subProcessHeaderPadding
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder subProcessHeaderPadding(double subProcessHeaderPadding)
The padding for the header of asub process
in the BPMN diagram. The header contains the name of the sub process and is rendered below the top edge of the sub process. This is the padding from the top edge of the sub process to the top edge of the name in the header.- Parameters:
subProcessHeaderPadding
- The padding for the header of a sub process in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
subProcessNameAlignmentOffset
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder subProcessNameAlignmentOffset(double subProcessNameAlignmentOffset)
Controls the alignment of asub process
's name in the BPMN diagram in the horizontal direction, together withsubProcessNameAlignmentRatio
. Defaults to 0, which corresponds to no offset.To determine the position of the name, the name is first positioned according to the ration, the offset by given amount.
- The ration is a value between 0 and 1, where 0 means the name is aligned to the left edge of the sub process, and 1 means the name is aligned to the right edge of the sub process.
- The offset is an absolute value in pixels, which is added to the position of the name after it has been aligned. A positive offset moves the name to the right, a negative offset moves it to the left.
- Parameters:
subProcessNameAlignmentOffset
- The alignment offset of the sub process name in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
subProcessNameAlignmentRatio
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder subProcessNameAlignmentRatio(double subProcessNameAlignmentRatio)
Controls the alignment of asub process
's name in the BPMN diagram in the horizontal direction, together withsubProcessNameAlignmentOffset
. Defaults to 0.5, which centers the name.To determine the position of the name, the name is first positioned according to the ration, the offset by given amount.
- The ration is a value between 0 and 1, where 0 means the name is aligned to the left edge of the sub process, and 1 means the name is aligned to the right edge of the sub process.
- The offset is an absolute value in pixels, which is added to the position of the name after it has been aligned. A positive offset moves the name to the right, a negative offset moves it to the left.
- Parameters:
subProcessNameAlignmentRatio
- The alignment ratio of the sub process name in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
subProcessTextAnnotationDistance
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder subProcessTextAnnotationDistance(double subProcessTextAnnotationDistance)
Sets the distance between asub process
and its text annotation.- Parameters:
subProcessTextAnnotationDistance
- The distance between a sub process and its text annotation.- Returns:
- This builder for chaining method calls.
-
subProcessTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder subProcessTextSettings(WorkflowBpmnTextLayoutSettings subProcessTextSettings)
Set the default text settings for (the label of)sub processes
in the BPMN diagram.- Parameters:
subProcessTextSettings
- The default text settings of sub processes in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
subProcessTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder subProcessTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)sub processes
in the BPMN diagram.- Parameters:
configurator
- The configurator for the default text settings of sub processes in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
taskColor
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder taskColor(int defaultTaskColor)
Set the default color oftasks
in the BPMN diagram.- Parameters:
defaultTaskColor
- The default color of tasks in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
taskHeight
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder taskHeight(double defaultTaskHeight)
Set the default height oftasks
in the BPMN diagram.- Parameters:
defaultTaskHeight
- The default height of tasks in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
taskPadding
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder taskPadding(ICardinalDirection2DMapDouble padding)
Sets the padding to apply to tasks in the BPMN diagram. This is the padding of the text inside the task box, not the padding around the task box itself.+---------------------------------------+ | | | north padding | | +-------------------+ | | | | | | west | | east | | padding | label text | padding | | | | | | | | | | +-------------------+ | | south padding | | | +---------------------------------------+ Text annotation
TheBpmnShape
of theTask
containsBounds
, these describe the size of the task box, including the padding. The BPMN shape also contains aBpmnLabel
, which also contains nestedBounds
, these describe the size of the label text inside the text box (without the padding).- Parameters:
padding
- The padding to apply to tasks in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
taskPadding
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder taskPadding(double padding)
Sets the padding to apply to tasks in the BPMN diagram. This is the padding of the text inside the task box, not the padding around the task box itself.+---------------------------------------+ | | | north padding | | +-------------------+ | | | | | | west | | east | | padding | label text | padding | | | | | | | | | | +-------------------+ | | south padding | | | +---------------------------------------+ Text annotation
TheBpmnShape
of theTask
containsBounds
, these describe the size of the task box, including the padding. The BPMN shape also contains aBpmnLabel
, which also contains nestedBounds
, these describe the size of the label text inside the text box (without the padding).- Parameters:
padding
- The padding to apply in all four directions to tasks in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
taskPadding
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder taskPadding(double northSouth, double eastWest)
Sets the padding to apply to tasks in the BPMN diagram. This is the padding of the text inside the task box, not the padding around the task box itself.+---------------------------------------+ | | | north padding | | +-------------------+ | | | | | | west | | east | | padding | label text | padding | | | | | | | | | | +-------------------+ | | south padding | | | +---------------------------------------+ Text annotation
TheBpmnShape
of theTask
containsBounds
, these describe the size of the task box, including the padding. The BPMN shape also contains aBpmnLabel
, which also contains nestedBounds
, these describe the size of the label text inside the text box (without the padding).- Parameters:
northSouth
- The padding to apply in the north and south directions to tasks in the BPMN diagram.eastWest
- The padding to apply in the east and west directions to tasks in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
taskPadding
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder taskPadding(double north, double east, double south, double west)
Sets the padding to apply to tasks in the BPMN diagram. This is the padding of the text inside the task box, not the padding around the task box itself.+---------------------------------------+ | | | north padding | | +-------------------+ | | | | | | west | | east | | padding | label text | padding | | | | | | | | | | +-------------------+ | | south padding | | | +---------------------------------------+ Text annotation
TheBpmnShape
of theTask
containsBounds
, these describe the size of the task box, including the padding. The BPMN shape also contains aBpmnLabel
, which also contains nestedBounds
, these describe the size of the label text inside the text box (without the padding).- Parameters:
north
- The padding to apply in the north direction to tasks in the BPMN diagram.east
- The padding to apply in the east direction to tasks in the BPMN diagram.south
- The padding to apply in the south direction to tasks in the BPMN diagram.west
- The padding to apply in the west direction to tasks in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
taskPadding
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder taskPadding(double[] padding)
Sets the padding to apply to tasks in the BPMN diagram. This is the padding of the text inside the task box, not the padding around the task box itself.+---------------------------------------+ | | | north padding | | +-------------------+ | | | | | | west | | east | | padding | label text | padding | | | | | | | | | | +-------------------+ | | south padding | | | +---------------------------------------+ Text annotation
TheBpmnShape
of theTask
containsBounds
, these describe the size of the task box, including the padding. The BPMN shape also contains aBpmnLabel
, which also contains nestedBounds
, these describe the size of the label text inside the text box (without the padding).- Parameters:
padding
- The padding to apply in each direction to tasks in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
taskTextAnnotationDistance
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder taskTextAnnotationDistance(double taskTextAnnotationDistance)
Sets the distance between atask
and its text annotation.- Parameters:
taskTextAnnotationDistance
- The distance between a task and its text annotation.- Returns:
- This builder for chaining method calls.
-
taskTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder taskTextSettings(WorkflowBpmnTextLayoutSettings taskTextSettings)
Set the default text settings for (the label of)tasks
in the BPMN diagram.- Parameters:
taskTextSettings
- The default text settings of tasks in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
taskTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder taskTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the label of)tasks
in the BPMN diagram.- Parameters:
configurator
- The configurator for the default text settings of tasks in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
taskWidth
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder taskWidth(double defaultTaskWidth)
Set the default width oftasks
in the BPMN diagram.- Parameters:
defaultTaskWidth
- The default width of tasks in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
textAnnotationColor
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder textAnnotationColor(int defaultTextAnnotationColor)
Set the default color oftext annotations
in the BPMN diagram.- Parameters:
defaultTextAnnotationColor
- The default color of text annotations in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
textAnnotationPadding
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder textAnnotationPadding(ICardinalDirection2DMapDouble padding)
Sets the padding to apply to text annotations in the BPMN diagram. This is the padding of the text inside the annotation box, not the padding around the annotation box itself.+---------------------------------------+ | | | north padding | | +-------------------+ | | | | | | west | | east | | padding | text annotation | padding | | | | | | | | | | +-------------------+ | | south padding | | | +---------------------------------------+ Task
TheBpmnShape
of theTextAnnotation
containsBounds
, which describe the size of the text annotation box, including the padding. The BPMN shape also contains aBpmnLabel
, which also contains nestedBounds
, which describe the size of the text inside the annotation box (without the padding).- Parameters:
padding
- The padding to apply to text annotations in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
textAnnotationPadding
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder textAnnotationPadding(double padding)
Sets the padding to apply to text annotations in the BPMN diagram. This is the padding of the text inside the annotation box, not the padding around the annotation box itself.+---------------------------------------+ | | | north padding | | +-------------------+ | | | | | | west | | east | | padding | text annotation | padding | | | | | | | | | | +-------------------+ | | south padding | | | +---------------------------------------+ Task
TheBpmnShape
of theTextAnnotation
containsBounds
, which describe the size of the text annotation box, including the padding. The BPMN shape also contains aBpmnLabel
, which also contains nestedBounds
, which describe the size of the text inside the annotation box (without the padding).- Parameters:
padding
- The padding to apply in all four directions to text annotations in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
textAnnotationPadding
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder textAnnotationPadding(double northSouth, double eastWest)
Sets the padding to apply to text annotations in the BPMN diagram. This is the padding of the text inside the annotation box, not the padding around the annotation box itself.+---------------------------------------+ | | | north padding | | +-------------------+ | | | | | | west | | east | | padding | text annotation | padding | | | | | | | | | | +-------------------+ | | south padding | | | +---------------------------------------+ Task
TheBpmnShape
of theTextAnnotation
containsBounds
, which describe the size of the text annotation box, including the padding. The BPMN shape also contains aBpmnLabel
, which also contains nestedBounds
, which describe the size of the text inside the annotation box (without the padding).- Parameters:
northSouth
- The padding to apply in the north and south directions to text annotations in the BPMN diagram.eastWest
- The padding to apply in the east and west directions to text annotations in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
textAnnotationPadding
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder textAnnotationPadding(double north, double east, double south, double west)
Sets the padding to apply to text annotations in the BPMN diagram. This is the padding of the text inside the annotation box, not the padding around the annotation box itself.+---------------------------------------+ | | | north padding | | +-------------------+ | | | | | | west | | east | | padding | text annotation | padding | | | | | | | | | | +-------------------+ | | south padding | | | +---------------------------------------+ Task
TheBpmnShape
of theTextAnnotation
containsBounds
, which describe the size of the text annotation box, including the padding. The BPMN shape also contains aBpmnLabel
, which also contains nestedBounds
, which describe the size of the text inside the annotation box (without the padding).- Parameters:
north
- The padding to apply in the north direction to text annotations in the BPMN diagram.east
- The padding to apply in the east direction to text annotations in the BPMN diagram.south
- The padding to apply in the south direction to text annotations in the BPMN diagram.west
- The padding to apply in the west direction to text annotations in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
textAnnotationPadding
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder textAnnotationPadding(double[] padding)
Sets the padding to apply to text annotations in the BPMN diagram. This is the padding of the text inside the annotation box, not the padding around the annotation box itself.+---------------------------------------+ | | | north padding | | +-------------------+ | | | | | | west | | east | | padding | text annotation | padding | | | | | | | | | | +-------------------+ | | south padding | | | +---------------------------------------+ Task
TheBpmnShape
of theTextAnnotation
containsBounds
, which describe the size of the text annotation box, including the padding. The BPMN shape also contains aBpmnLabel
, which also contains nestedBounds
, which describe the size of the text inside the annotation box (without the padding).- Parameters:
padding
- The padding to apply in each direction to text annotations in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
textAnnotationTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder textAnnotationTextSettings(WorkflowBpmnTextLayoutSettings defaultTextAnnotationTextSettings)
Set the default text settings for (the text of)text annotations
in the BPMN diagram.- Parameters:
defaultTextAnnotationTextSettings
- The default text settings of text annotations in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
textAnnotationTextSettings
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder textAnnotationTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)
Adjusts the default text settings for (the text of)text annotations
in the BPMN diagram.- Parameters:
configurator
- The configurator for the default text settings of text annotations in the BPMN diagram.- Returns:
- This builder for chaining method calls.
-
-