Class DataStoreSettingsViewModel
java.lang.Object
de.xima.fc.workflow.designer.bpmn.model.settings.ASettingsViewViewModel
de.xima.fc.workflow.designer.bpmn.model.settings.DataStoreSettingsViewModel
- All Implemented Interfaces:
Serializable
View model for layout settings related to
data stores 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 distance between the data store shape and its text annotation.getColor()Gets the color of the data store shape.doubleGets the height of the data store shape.Gets the text settings for the data store's name.doublegetWidth()Gets the width of the data store shape.voidsetAnnotationDistance(double annotationDistance) Sets the distance between the data store shape and its text annotation.voidSets the color of the data store shape.voidsetHeight(double height) Sets the height of the data store shape.voidsetWidth(double width) Sets the width of the data store shape.
-
Constructor Details
-
DataStoreSettingsViewModel
public DataStoreSettingsViewModel()
-
-
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.
-
getAnnotationDistance
public double getAnnotationDistance()Gets the distance between the data store shape and its text annotation.- Returns:
- The distance in pixels.
-
setAnnotationDistance
public void setAnnotationDistance(double annotationDistance) Sets the distance between the data store shape and its text annotation.- Parameters:
annotationDistance- The distance in pixels.
-
getColor
Gets the color of the data store shape.- Returns:
- The color as a CSS color string.
-
setColor
Sets the color of the data store shape.- Parameters:
color- The color as a CSS color string.
-
getHeight
public double getHeight()Gets the height of the data store shape.- Returns:
- The height in pixels.
-
setHeight
public void setHeight(double height) Sets the height of the data store shape.- Parameters:
height- The height in pixels.
-
getTextSettings
Gets the text settings for the data store's name.- Returns:
- The text settings view model.
-
getWidth
public double getWidth()Gets the width of the data store shape.- Returns:
- The width in pixels.
-
setWidth
public void setWidth(double width) Sets the width of the data store shape.- Parameters:
width- The width in pixels.
-