Class ParticipantSettingsViewModel
java.lang.Object
de.xima.fc.workflow.designer.bpmn.model.settings.ASettingsViewViewModel
de.xima.fc.workflow.designer.bpmn.model.settings.ParticipantSettingsViewModel
- All Implemented Interfaces:
Serializable
View model for layout settings related to
participants in BPMN diagrams.- Since:
- 8.4.0
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyFromSettings(IWorkflowBpmnLayoutSettings settings) Applies the settings from the givenIWorkflowBpmnLayoutSettingsinstance to this view model.voidApplies the settings from the givenFlowchartToBpmnConverterSettingsinstance to this view model.voidApplies the settings from this view model to the givenWorkflowBpmnLayoutSettings.Builderinstance.voidApplies the settings from this view model to the givenFlowchartToBpmnConverterSettings.Builderinstance.doubleGets the header padding, seelayoutSettings.participantHeaderPadding.Gets the text settings, seelayoutSettings.participantTextSettings.voidsetHeaderPadding(double headerPadding) Sets the header padding, seelayoutSettings.participantHeaderPadding.
-
Constructor Details
-
ParticipantSettingsViewModel
public ParticipantSettingsViewModel()
-
-
Method Details
-
applyFromSettings
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
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
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
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.
-
getHeaderPadding
public double getHeaderPadding()Gets the header padding, seelayoutSettings.participantHeaderPadding.- Returns:
- The header padding in pixels.
-
setHeaderPadding
public void setHeaderPadding(double headerPadding) Sets the header padding, seelayoutSettings.participantHeaderPadding.- Parameters:
headerPadding- The header padding in pixels.
-
getTextSettings
Gets the text settings, seelayoutSettings.participantTextSettings.- Returns:
- The text settings.
-