Class TaskExportSettingsViewModel

    • Constructor Detail

      • TaskExportSettingsViewModel

        public TaskExportSettingsViewModel()
    • Method Detail

      • getAnnotationDistance

        public double getAnnotationDistance()
        Gets the distance between a task shape and its text annotation in the BPMN diagram.
        Returns:
        The distance in pixels.
      • setAnnotationDistance

        public void setAnnotationDistance​(double annotationDistance)
        Sets the distance between a task shape and its text annotation in the BPMN diagram.
        Parameters:
        annotationDistance - The distance to set, in pixels.
      • getColor

        public String getColor()
        Gets the color of the task shapes in the BPMN diagram.
        Returns:
        The color of the task shapes.
      • setColor

        public void setColor​(String color)
        Sets the color of the task shapes in the BPMN diagram.
        Parameters:
        color - The color to set, in CSS color format (e.g., "#RRGGBB").
      • getHeight

        public double getHeight()
        Gets the height of the task shapes (rectangles) in the BPMN diagram in pixels.
        Returns:
        The height of the task shapes.
      • setHeight

        public void setHeight​(double height)
        Sets the height of the task shapes (rectangles) in the BPMN diagram in pixels.
        Parameters:
        height - The height to set for the task shapes.
      • getNonAbstractTaskMinPadding

        public CardinalDoublesViewModel getNonAbstractTaskMinPadding()
        Gets the minimum padding for non-abstract tasks in the BPMN diagram. This padding can be used to ensure that there is sufficient space for the task type icon.
        Returns:
        The minimum padding for non-abstract tasks.
      • getPadding

        public CardinalDoublesViewModel getPadding()
        Gets the padding for task shapes in the BPMN diagram.
        Returns:
        The padding for task shapes.
      • getTextSettings

        public TextSettingsViewModel getTextSettings()
        Gets the text settings for a task's name in the BPMN diagram.
        Returns:
        The text settings for the name of a task.
      • getWidth

        public double getWidth()
        Gets the width of the task shapes (rectangles) in the BPMN diagram in pixels.
        Returns:
        The width of the task shapes.
      • setWidth

        public void setWidth​(double width)
        Sets the width of the task shapes (rectangles) in the BPMN diagram in pixels.
        Parameters:
        width - The width to set for the task shapes.
      • isCollapseSubProcesses

        public boolean isCollapseSubProcesses()
        Gets whether to set the expanded attribute of a BPMN shape to false for SubProcess. May improve compatibility with some tools that prefer collapsed subprocesses.
        Returns:
        Whether to collapse subprocesses.
      • setCollapseSubProcesses

        public void setCollapseSubProcesses​(boolean collapseSubProcesses)
        Sets whether to set the expanded attribute of a BPMN shape to false for SubProcess. May improve compatibility with some tools that prefer collapsed subprocesses.
        Parameters:
        collapseSubProcesses - Whether to collapse subprocesses.