Class StyledBpmnLabel
java.lang.Object
de.xima.fc.common.workflow.bpmn.StyledBpmnLabel
- All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets whether the label has explicit bounds.explicitBounds(boolean explicitBounds) Sets whether the label has explicit bounds.style()Gets the style definition of the label.Sets the style definition of the label.text()Gets the text of the label.Sets the text of the label.
-
Constructor Details
-
StyledBpmnLabel
public StyledBpmnLabel()
-
-
Method Details
-
explicitBounds
public boolean explicitBounds()Gets whether the label has explicit bounds. If true, aBoundsinstance should be added to theBpmnLabel.- Returns:
- True if the label has explicit bounds, false otherwise.
-
explicitBounds
Sets whether the label has explicit bounds. If true, aBoundsinstance should be added to theBpmnLabel.- 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
-
text
Sets the text of the label.- Parameters:
text- The text of the label.- Returns:
- This instance for method chaining.
-