Class AssociationSettingsViewModel
- java.lang.Object
-
- de.xima.fc.workflow.designer.bpmn.model.settings.ASettingsViewViewModel
-
- de.xima.fc.workflow.designer.bpmn.model.settings.AssociationSettingsViewModel
-
- All Implemented Interfaces:
Serializable
public final class AssociationSettingsViewModel extends ASettingsViewViewModel
View model for layout settings related toassociationsin BPMN diagrams.- Since:
- 8.4.0
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AssociationSettingsViewModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidapplyFromSettings(IWorkflowBpmnLayoutSettings settings)Applies the settings from the givenIWorkflowBpmnLayoutSettingsinstance to this view model.voidapplyFromSettings(FlowchartToBpmnConverterSettings settings)Applies the settings from the givenFlowchartToBpmnConverterSettingsinstance to this view model.voidapplyToBuilder(WorkflowBpmnLayoutSettings.Builder builder)Applies the settings from this view model to the givenWorkflowBpmnLayoutSettings.Builderinstance.voidapplyToBuilder(FlowchartToBpmnConverterSettings.Builder builder)Applies the settings from this view model to the givenFlowchartToBpmnConverterSettings.Builderinstance.StringgetColor()Gets the color of the associations, seelayoutSettings.associationColor.voidsetColor(String color)Sets the color of the associations, seelayoutSettings.associationColor.
-
-
-
Method Detail
-
applyFromSettings
public void applyFromSettings(IWorkflowBpmnLayoutSettings settings)
Description copied from class:ASettingsViewViewModelApplies the settings from the givenIWorkflowBpmnLayoutSettingsinstance to this view model.- Specified by:
applyFromSettingsin classASettingsViewViewModel- Parameters:
settings- The settings to apply.
-
applyFromSettings
public void applyFromSettings(FlowchartToBpmnConverterSettings settings)
Description copied from class:ASettingsViewViewModelApplies the settings from the givenFlowchartToBpmnConverterSettingsinstance to this view model.- Specified by:
applyFromSettingsin classASettingsViewViewModel- Parameters:
settings- The settings to apply.
-
applyToBuilder
public void applyToBuilder(WorkflowBpmnLayoutSettings.Builder builder)
Description copied from class:ASettingsViewViewModelApplies the settings from this view model to the givenWorkflowBpmnLayoutSettings.Builderinstance.- Specified by:
applyToBuilderin classASettingsViewViewModel- Parameters:
builder- The builder to apply settings to.
-
applyToBuilder
public void applyToBuilder(FlowchartToBpmnConverterSettings.Builder builder)
Description copied from class:ASettingsViewViewModelApplies the settings from this view model to the givenFlowchartToBpmnConverterSettings.Builderinstance.- Specified by:
applyToBuilderin classASettingsViewViewModel- Parameters:
builder- The builder to apply settings to.
-
getColor
public String getColor()
Gets the color of the associations, seelayoutSettings.associationColor.- Returns:
- The color as a CSS string, e.g. "#FF0000" for red.
-
setColor
public void setColor(String color)
Sets the color of the associations, seelayoutSettings.associationColor.- Parameters:
color- The color as a CSS string, e.g. "#FF0000" for red.
-
-