Class DataObjectSettingsViewModel

java.lang.Object
de.xima.fc.workflow.designer.bpmn.model.settings.ASettingsViewViewModel
de.xima.fc.workflow.designer.bpmn.model.settings.DataObjectSettingsViewModel
All Implemented Interfaces:
Serializable

public final class DataObjectSettingsViewModel extends ASettingsViewViewModel
View model for layout settings related to data stores in BPMN diagrams.
Since:
8.4.0
See Also:
  • Constructor Details

    • DataObjectSettingsViewModel

      public DataObjectSettingsViewModel()
  • Method Details

    • applyFromSettings

      public void applyFromSettings(IWorkflowBpmnLayoutSettings settings)
      Description copied from class: ASettingsViewViewModel
      Applies the settings from the given IWorkflowBpmnLayoutSettings instance to this view model.
      Specified by:
      applyFromSettings in class ASettingsViewViewModel
      Parameters:
      settings - The settings to apply.
    • applyFromSettings

      public void applyFromSettings(FlowchartToBpmnConverterSettings settings)
      Description copied from class: ASettingsViewViewModel
      Applies the settings from the given FlowchartToBpmnConverterSettings instance to this view model.
      Specified by:
      applyFromSettings in class ASettingsViewViewModel
      Parameters:
      settings - The settings to apply.
    • applyToBuilder

      public void applyToBuilder(WorkflowBpmnLayoutSettings.Builder builder)
      Description copied from class: ASettingsViewViewModel
      Applies the settings from this view model to the given WorkflowBpmnLayoutSettings.Builder instance.
      Specified by:
      applyToBuilder in class ASettingsViewViewModel
      Parameters:
      builder - The builder to apply settings to.
    • applyToBuilder

      public void applyToBuilder(FlowchartToBpmnConverterSettings.Builder builder)
      Description copied from class: ASettingsViewViewModel
      Applies the settings from this view model to the given FlowchartToBpmnConverterSettings.Builder instance.
      Specified by:
      applyToBuilder in class ASettingsViewViewModel
      Parameters:
      builder - The builder to apply settings to.
    • getAnnotationDistance

      public double getAnnotationDistance()
      Gets the distance between the data object shape and its text annotation.
      Returns:
      The distance in pixels.
    • setAnnotationDistance

      public void setAnnotationDistance(double annotationDistance)
      Sets the distance between the data object shape and its text annotation.
      Parameters:
      annotationDistance - The distance in pixels.
    • getColor

      public String getColor()
      Gets the color of the data object shape.
      Returns:
      The color as a CSS color string.
    • setColor

      public void setColor(String color)
      Sets the color of the data object shape.
      Parameters:
      color - The color as a CSS color string.
    • getHeight

      public double getHeight()
      Gets the height of the data object shape.
      Returns:
      The height in pixels.
    • setHeight

      public void setHeight(double height)
      Sets the height of the data object shape.
      Parameters:
      height - The height in pixels.
    • getTextSettings

      public TextSettingsViewModel getTextSettings()
      Gets the text settings for the data object's name.
      Returns:
      The text settings view model.
    • getWidth

      public double getWidth()
      Gets the width of the data object shape.
      Returns:
      The width in pixels.
    • setWidth

      public void setWidth(double width)
      Sets the width of the data object shape.
      Parameters:
      width - The width in pixels.