Class StyledBpmnLabel

java.lang.Object
de.xima.fc.common.workflow.bpmn.StyledBpmnLabel
All Implemented Interfaces:
Serializable

public class StyledBpmnLabel extends Object implements Serializable
Represents a styled BPMN label, including the label text and its style definition. This is often used as the value of an IWorkflowBpmnAlignmentItem when creating and laying out BPMN diagrams.
Since:
8.4.0
See Also:
  • Constructor Details

    • StyledBpmnLabel

      public StyledBpmnLabel()
  • Method Details

    • explicitBounds

      public boolean explicitBounds()
      Gets whether the label has explicit bounds. If true, a Bounds instance should be added to the BpmnLabel.
      Returns:
      True if the label has explicit bounds, false otherwise.
    • explicitBounds

      public StyledBpmnLabel explicitBounds(boolean explicitBounds)
      Sets whether the label has explicit bounds. If true, a Bounds instance should be added to the BpmnLabel.
      Parameters:
      explicitBounds - True if the label has explicit bounds, false otherwise.
      Returns:
      This instance for method chaining.
    • style

      Gets the style definition of the label.
      Returns:
      The style definition of the label.
    • style

      Sets the style definition of the label.
      Parameters:
      style - The style definition of the label.
      Returns:
      This instance for method chaining.
    • text

      public String text()
      Gets the text of the label.
      Returns:
      The text of the label.
    • text

      public StyledBpmnLabel text(String text)
      Sets the text of the label.
      Parameters:
      text - The text of the label.
      Returns:
      This instance for method chaining.