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 aWorkflowBpmnLayoutSettingsinstance.- Since:
- 8.4.0
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WorkflowBpmnLayoutSettings.BuilderassociationColor(int defaultAssociationColor)Set the default color ofassociationsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderboundaryEventColor(int defaultBoundaryEventColor)Set the default color ofboundary eventsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderboundaryEventDiameter(double defaultBoundaryEventDiameter)Set the default diameter ofboundary eventsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderboundaryEventTextAnnotationDistance(double boundaryEventTextAnnotationDistance)Sets the distance between anboundary eventand its text annotation.WorkflowBpmnLayoutSettings.BuilderboundaryEventTextSettings(WorkflowBpmnTextLayoutSettings boundaryEventTextSettings)Set the default text settings for (the label of)boundary eventsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderboundaryEventTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)Set the default text settings for (the text of)boundary eventsin the BPMN diagram.IWorkflowBpmnLayoutSettingsbuild()Build the settings object.WorkflowBpmnLayoutSettings.BuildercollapseSubProcesses()Sets theexpandedattribute of aBPMN shapeto false forSubProcess.WorkflowBpmnLayoutSettings.BuildercollapseSubProcesses(boolean collapseSubProcesses)Whether to set theexpandedattribute of aBPMN shapeto false forSubProcess.WorkflowBpmnLayoutSettings.Buildercolorize(boolean colorize)Set whether to colorize the BPMN XML.WorkflowBpmnLayoutSettings.BuildercomplexGatewayColor(int defaultComplexGatewayColor)Set the default color ofcomplex gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildercomplexGatewayHeight(double complexGatewayHeight)Set the default height ofcomplex gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildercomplexGatewayTextAnnotationDistance(double complexGatewayTextAnnotationDistance)Sets the distance between acomplex gatewayand its text annotation.WorkflowBpmnLayoutSettings.BuildercomplexGatewayTextSettings(WorkflowBpmnTextLayoutSettings complexGatewayTextSettings)Set the default text settings for (the label of)complex gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildercomplexGatewayTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)Adjusts the default text settings for (the label of)complex gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildercomplexGatewayWidth(double complexGatewayWidth)Set the default width ofcomplex gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildercrossFlowDirectionSpacing(double crossFlowDirectionSpacing)Set the spacing between elements in the cross flow direction, i.e.WorkflowBpmnLayoutSettings.BuilderdataObjectColor(int defaultDataObjectColor)Set the default color ofdata objectsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderdataObjectHeight(double dataObjectHeight)Set the default height ofdata objectsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderdataObjectTextAnnotationDistance(double dataObjectTextAnnotationDistance)Sets the distance between adata objectand its text annotation.WorkflowBpmnLayoutSettings.BuilderdataObjectTextSettings(WorkflowBpmnTextLayoutSettings defaultDataObjectTextSettings)Set the default text settings for (the label of)data objectsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderdataObjectTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)Adjusts the default text settings for (the label of)data objectsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderdataObjectWidth(double dataObjectWidth)Set the default width ofdata objectsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderdataStoreColor(int defaultDataStoreColor)Set the default color ofdata storesin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderdataStoreHeight(double dataStoreHeight)Set the default height ofdata storesin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderdataStoreTextAnnotationDistance(double dataStoreTextAnnotationDistance)Sets the distance between adata storeand its text annotation.WorkflowBpmnLayoutSettings.BuilderdataStoreTextSettings(WorkflowBpmnTextLayoutSettings defaultDataStoreTextSettings)Set the default text settings for (the label of)data storesin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderdataStoreTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)Adjusts the default text settings for (the label of)data storesin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderdataStoreWidth(double dataStoreWidth)Set the default width ofdata storesin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderdefaultFlowMarkerLength(double defaultFlowMarkerLength)Sets the length from the start of adefaultsequence flowto the end of the default flow marker (a slash).WorkflowBpmnLayoutSettings.Builderdirection(ECardinalDirection2D direction)Set the direction of the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderendEventColor(int endEventColor)Set the default color ofend eventsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderendEventDiameter(double defaultEndEventDiameter)Set the default diameter ofend eventsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderendEventTextAnnotationDistance(double endEventTextAnnotationDistance)Sets the distance between anend eventand its text annotation.WorkflowBpmnLayoutSettings.BuilderendEventTextSettings(WorkflowBpmnTextLayoutSettings endEventTextSettings)Set the default text settings for (the label of)end eventsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderendEventTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)Set the default text settings for (the text of)end eventsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildereventBasedGatewayColor(int defaultEventBasedGatewayColor)Set the default color ofeventBased gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildereventBasedGatewayHeight(double eventBasedGatewayHeight)Set the default height ofeventBased gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildereventBasedGatewayTextAnnotationDistance(double eventBasedGatewayTextAnnotationDistance)Sets the distance between aneventBased gatewayand its text annotation.WorkflowBpmnLayoutSettings.BuildereventBasedGatewayTextSettings(WorkflowBpmnTextLayoutSettings eventBasedGatewayTextSettings)Set the default text settings for (the label of)eventBased gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildereventBasedGatewayTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)Adjusts the default text settings for (the label of)eventBased gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildereventBasedGatewayWidth(double eventBasedGatewayWidth)Set the default width ofeventBased gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildereventColor(int eventColor)Set the default color ofeventsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildereventDiameter(double defaultEventDiameter)Set the default event diameter of all event types in the BPMN diagram.WorkflowBpmnLayoutSettings.BuildereventTextAnnotationDistance(double eventTextAnnotationDistance)Sets the distance between aneventand its text annotation.WorkflowBpmnLayoutSettings.BuildereventTextSettings(WorkflowBpmnTextLayoutSettings eventTextSettings)Set the default text settings for (the label of)eventsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildereventTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)Set the default text settings for (the text of)eventsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderexclusiveGatewayColor(int exclusiveGatewayColor)Set the default color ofexclusive gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderexclusiveGatewayHeight(double exclusiveGatewayHeight)Set the default height ofexclusive gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderexclusiveGatewayTextAnnotationDistance(double exclusiveGatewayTextAnnotationDistance)Sets the distance between anexclusive gatewayand its text annotation.WorkflowBpmnLayoutSettings.BuilderexclusiveGatewayTextSettings(WorkflowBpmnTextLayoutSettings exclusiveGatewayTextSettings)Set the default text settings for (the label of)exclusive gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderexclusiveGatewayTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)Adjusts the default text settings for (the label of)exclusive gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderexclusiveGatewayWidth(double exclusiveGatewayWidth)Set the default width ofexclusive gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderflowDirectionSpacing(double flowDirectionSpacing)Set the spacing between elements in the flow direction, i.e.WorkflowBpmnLayoutSettings.BuilderfontSizeUnit(Length fontSizeUnit)Sets the unit for the font size for labels in the BPMN diagram.WorkflowBpmnLayoutSettings.BuildergatewayColor(int gatewayColor)Set the default color ofgatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildergatewayHeight(double gatewayHeight)Set the default height ofgatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildergatewayTextAnnotationDistance(double gatewayTextAnnotationDistance)Sets the distance between agatewayand its text annotation.WorkflowBpmnLayoutSettings.BuildergatewayTextSettings(WorkflowBpmnTextLayoutSettings gatewayTextSettings)Set the default text settings for (the label of)gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildergatewayTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)Adjusts the default text settings for (the label of)gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildergatewayWidth(double gatewayWidth)Set the default width ofgatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderinclusiveGatewayColor(int defaultInclusiveGatewayColor)Set the default color ofinclusive gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderinclusiveGatewayHeight(double inclusiveGatewayHeight)Set the default height ofinclusive gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderinclusiveGatewayTextAnnotationDistance(double inclusiveGatewayTextAnnotationDistance)Sets the distance between aninclusive gatewayand its text annotation.WorkflowBpmnLayoutSettings.BuilderinclusiveGatewayTextSettings(WorkflowBpmnTextLayoutSettings inclusiveGatewayTextSettings)Set the default text settings for (the label of)inclusive gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderinclusiveGatewayTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)Adjusts the default text settings for (the label of)inclusive gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderinclusiveGatewayWidth(double inclusiveGatewayWidth)Set the default width ofinclusive gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderintermediateCatchEventColor(int defaultIntermediateCatchEventColor)Set the default color ofintermediate catch eventsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderintermediateCatchEventDiameter(double defaultIntermediateCatchEventDiameter)Set the default diameter ofintermediate catch eventsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderintermediateCatchEventTextAnnotationDistance(double intermediateCatchEventTextAnnotationDistance)Sets the distance between anintermediate catch eventand its text annotation.WorkflowBpmnLayoutSettings.BuilderintermediateCatchEventTextSettings(WorkflowBpmnTextLayoutSettings intermediateCatchEventTextSettings)Set the default text settings for (the label of)intermediate catch eventsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderintermediateCatchEventTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)Set the default text settings for (the text of)intermediate catch eventsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderintermediateThrowEventColor(int defaultIntermediateThrowEventColor)Set the default color ofintermediate throw eventsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderintermediateThrowEventDiameter(double defaultIntermediateThrowEventDiameter)Set the default diameter ofintermediate throw eventsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderintermediateThrowEventTextAnnotationDistance(double intermediateThrowEventTextAnnotationDistance)Sets the distance between anintermediate throw eventand its text annotation.WorkflowBpmnLayoutSettings.BuilderintermediateThrowEventTextSettings(WorkflowBpmnTextLayoutSettings intermediateThrowEventTextSettings)Set the default text settings for (the label of)intermediate throw eventsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderintermediateThrowEventTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)Set the default text settings for (the text of)intermediate throw eventsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderlaneTextSettings(WorkflowBpmnTextLayoutSettings defaultLaneTextSettings)Set the default text settings for (the label of)lanesin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderlaneTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)Adjusts the default text settings for (the label of)lanesin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildernameDistance(double nameDistance)Sets the distance between anamed elementand its name.WorkflowBpmnLayoutSettings.BuildernonAbstractTaskMinPadding(double nonAbstractTaskMinPadding)The minimum amount of padding to apply tonon-abstracttasks in the BPMN diagram.WorkflowBpmnLayoutSettings.BuildernonAbstractTaskMinPadding(double[] nonAbstractTaskMinPadding)The minimum amount of padding to apply tonon-abstracttasks in the BPMN diagram.WorkflowBpmnLayoutSettings.BuildernonAbstractTaskMinPadding(double nonAbstractTaskMinPaddingNorthSouth, double nonAbstractTaskMinPaddingEastWest)The minimum amount of padding to apply tonon-abstracttasks in the BPMN diagram.WorkflowBpmnLayoutSettings.BuildernonAbstractTaskMinPadding(double nonAbstractTaskMinPaddingNorth, double nonAbstractTaskMinPaddingEast, double nonAbstractTaskMinPaddingSouth, double nonAbstractTaskMinPaddingWest)The minimum amount of padding to apply tonon-abstracttasks in the BPMN diagram.WorkflowBpmnLayoutSettings.BuildernonAbstractTaskMinPadding(ICardinalDirection2DMapDouble nonAbstractTaskMinPadding)The minimum amount of padding to apply tonon-abstracttasks in the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderotherTextAnnotationDistance(double otherTextAnnotationDistance)Set the default spacing between an element and its text annotation.WorkflowBpmnLayoutSettings.BuilderparallelGatewayColor(int defaultParallelGatewayColor)Set the default color ofparallel gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderparallelGatewayHeight(double parallelGatewayHeight)Set the default height ofparallel gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderparallelGatewayTextAnnotationDistance(double parallelGatewayTextAnnotationDistance)Sets the distance between aparallel gatewayand its text annotation.WorkflowBpmnLayoutSettings.BuilderparallelGatewayTextSettings(WorkflowBpmnTextLayoutSettings parallelGatewayTextSettings)Set the default text settings for (the label of)parallel gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderparallelGatewayTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)Adjusts the default text settings for (the label of)parallel gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderparallelGatewayWidth(double parallelGatewayWidth)Set the default width ofparallel gatewaysin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderparticipantHeaderPadding(double participantHeaderPadding)Sets the padding for the header of aparticipant(sometimes called pool) in the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderparticipantTextSettings(WorkflowBpmnTextLayoutSettings defaultParticipantTextSettings)Set the default text settings for (the label of)participantsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderparticipantTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)Adjusts the default text settings for (the label of)participantsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildersequenceFlowColor(int defaultSequenceFlowColor)Set the default color ofsequence flowsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildersequenceFlowLabelSpacing(double sequenceFlowLabelSpacing)Sets the label spacing for sequence flows.WorkflowBpmnLayoutSettings.BuildersequenceFlowTextSettings(WorkflowBpmnTextLayoutSettings defaultSequenceFlowTextSettings)Set the default text settings for (the label of)sequence flowsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildersequenceFlowTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)Adjusts the default text settings for (the label of)sequence flowsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderstartEventColor(int defaultStartEventColor)Set the default color ofstart eventsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderstartEventDiameter(double defaultStartEventDiameter)Set the default diameter ofstart eventsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderstartEventTextAnnotationDistance(double startEventTextAnnotationDistance)Sets the distance between anstart eventand its text annotation.WorkflowBpmnLayoutSettings.BuilderstartEventTextSettings(WorkflowBpmnTextLayoutSettings startEventTextSettings)Set the default text settings for (the label of)start eventsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuilderstartEventTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)Set the default text settings for (the text of)start eventsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildersubProcessHeaderPadding(double subProcessHeaderPadding)The padding for the header of asub processin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildersubProcessNameAlignmentOffset(double subProcessNameAlignmentOffset)Controls the alignment of asub process's name in the BPMN diagram in the horizontal direction, together withsubProcessNameAlignmentRatio.WorkflowBpmnLayoutSettings.BuildersubProcessNameAlignmentRatio(double subProcessNameAlignmentRatio)Controls the alignment of asub process's name in the BPMN diagram in the horizontal direction, together withsubProcessNameAlignmentOffset.WorkflowBpmnLayoutSettings.BuildersubProcessTextAnnotationDistance(double subProcessTextAnnotationDistance)Sets the distance between asub processand its text annotation.WorkflowBpmnLayoutSettings.BuildersubProcessTextSettings(WorkflowBpmnTextLayoutSettings subProcessTextSettings)Set the default text settings for (the label of)sub processesin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildersubProcessTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)Adjusts the default text settings for (the label of)sub processesin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildertaskColor(int defaultTaskColor)Set the default color oftasksin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildertaskHeight(double defaultTaskHeight)Set the default height oftasksin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildertaskPadding(double padding)Sets the padding to apply to tasks in the BPMN diagram.WorkflowBpmnLayoutSettings.BuildertaskPadding(double[] padding)Sets the padding to apply to tasks in the BPMN diagram.WorkflowBpmnLayoutSettings.BuildertaskPadding(double northSouth, double eastWest)Sets the padding to apply to tasks in the BPMN diagram.WorkflowBpmnLayoutSettings.BuildertaskPadding(double north, double east, double south, double west)Sets the padding to apply to tasks in the BPMN diagram.WorkflowBpmnLayoutSettings.BuildertaskPadding(ICardinalDirection2DMapDouble padding)Sets the padding to apply to tasks in the BPMN diagram.WorkflowBpmnLayoutSettings.BuildertaskTextAnnotationDistance(double taskTextAnnotationDistance)Sets the distance between ataskand its text annotation.WorkflowBpmnLayoutSettings.BuildertaskTextSettings(WorkflowBpmnTextLayoutSettings taskTextSettings)Set the default text settings for (the label of)tasksin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildertaskTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)Adjusts the default text settings for (the label of)tasksin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildertaskWidth(double defaultTaskWidth)Set the default width oftasksin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildertextAnnotationColor(int defaultTextAnnotationColor)Set the default color oftext annotationsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildertextAnnotationPadding(double padding)Sets the padding to apply to text annotations in the BPMN diagram.WorkflowBpmnLayoutSettings.BuildertextAnnotationPadding(double[] padding)Sets the padding to apply to text annotations in the BPMN diagram.WorkflowBpmnLayoutSettings.BuildertextAnnotationPadding(double northSouth, double eastWest)Sets the padding to apply to text annotations in the BPMN diagram.WorkflowBpmnLayoutSettings.BuildertextAnnotationPadding(double north, double east, double south, double west)Sets the padding to apply to text annotations in the BPMN diagram.WorkflowBpmnLayoutSettings.BuildertextAnnotationPadding(ICardinalDirection2DMapDouble padding)Sets the padding to apply to text annotations in the BPMN diagram.WorkflowBpmnLayoutSettings.BuildertextAnnotationTextSettings(WorkflowBpmnTextLayoutSettings defaultTextAnnotationTextSettings)Set the default text settings for (the text of)text annotationsin the BPMN diagram.WorkflowBpmnLayoutSettings.BuildertextAnnotationTextSettings(Consumer<? super WorkflowBpmnTextLayoutSettings.Builder> configurator)Adjusts the default text settings for (the text of)text annotationsin the BPMN diagram.
-
-
-
Method Detail
-
associationColor
@CanIgnoreReturnValue public WorkflowBpmnLayoutSettings.Builder associationColor(int defaultAssociationColor)
Set the default color ofassociationsin 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 eventsin 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 eventsin 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 eventand 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 eventsin 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 eventsin 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 theexpandedattribute of aBPMN shapeto 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 theexpandedattribute of aBPMN shapeto 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 gatewaysin 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 gatewaysin 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 gatewayand 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 gatewaysin 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 gatewaysin 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 gatewaysin 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 objectsin 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 objectsin 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 objectand 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 objectsin 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 objectsin 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 objectsin 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 storesin 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 storesin 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 storeand 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 storesin 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 storesin 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 storesin 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 adefaultsequence flowto 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 eventsin 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 eventsin 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 eventand 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 eventsin 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 eventsin 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 gatewaysin 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 gatewaysin 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 gatewayand 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 gatewaysin 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 gatewaysin 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 gatewaysin 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 ofeventsin 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 aneventand 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)eventsin 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)eventsin 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 gatewaysin 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 gatewaysin 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 gatewayand 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 gatewaysin 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 gatewaysin 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 gatewaysin 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 ofgatewaysin 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 ofgatewaysin 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 agatewayand 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)gatewaysin 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)gatewaysin 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 ofgatewaysin 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 gatewaysin 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 gatewaysin 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 gatewayand 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 gatewaysin 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 gatewaysin 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 gatewaysin 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 eventsin 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 eventsin 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 eventand 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 eventsin 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 eventsin 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 eventsin 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 eventsin 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 eventand 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 eventsin 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 eventsin 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)lanesin 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)lanesin 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 elementand 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-abstracttasks 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-abstracttasks 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-abstracttasks 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-abstracttasks 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-abstracttasks 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 gatewaysin 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 gatewaysin 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 gatewayand 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 gatewaysin 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 gatewaysin 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 gatewaysin 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)participantsin 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)participantsin 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 flowsin 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 flowsin 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 flowsin 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 eventsin 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 eventsin 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 eventand 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 eventsin 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 eventsin 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 processin 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 processand 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 processesin 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 processesin 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 oftasksin 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 oftasksin 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 annotationTheBpmnShapeof theTaskcontainsBounds, 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 annotationTheBpmnShapeof theTaskcontainsBounds, 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 annotationTheBpmnShapeof theTaskcontainsBounds, 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 annotationTheBpmnShapeof theTaskcontainsBounds, 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 annotationTheBpmnShapeof theTaskcontainsBounds, 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 ataskand 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)tasksin 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)tasksin 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 oftasksin 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 annotationsin 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 | | | +---------------------------------------+ TaskTheBpmnShapeof theTextAnnotationcontainsBounds, 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 | | | +---------------------------------------+ TaskTheBpmnShapeof theTextAnnotationcontainsBounds, 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 | | | +---------------------------------------+ TaskTheBpmnShapeof theTextAnnotationcontainsBounds, 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 | | | +---------------------------------------+ TaskTheBpmnShapeof theTextAnnotationcontainsBounds, 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 | | | +---------------------------------------+ TaskTheBpmnShapeof theTextAnnotationcontainsBounds, 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 annotationsin 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 annotationsin 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.
-
-