Class StyledBpmnLabel

    • Constructor Detail

      • StyledBpmnLabel

        public StyledBpmnLabel()
    • Method Detail

      • 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.
      • 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.