Enum EWorkflowBpmnTextLayoutLineBreakMode
java.lang.Object
java.lang.Enum<EWorkflowBpmnTextLayoutLineBreakMode>
de.xima.fc.common.workflow.bpmn.EWorkflowBpmnTextLayoutLineBreakMode
- All Implemented Interfaces:
Serializable, Comparable<EWorkflowBpmnTextLayoutLineBreakMode>
Defines how line breaks are handled when converting a workflow to a BPMN diagrams.
- Since:
- 8.4.0
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionNormal line breaks.Removes line breaks completely from the input text.A combination ofOMIT_IN_OUTPUTandOMIT_IN_INPUT.Omits computed line breaks in the emitted text, e.g. for the name attribute of a BPMN element, but still wraps text on multiple lines for layout purposes. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static EWorkflowBpmnTextLayoutLineBreakMode[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
NORMAL
Normal line breaks. Wrap text to create multiple lines, and write text with line breaks as the label text of BPMN labels. -
OMIT_IN_OUTPUT
Omits computed line breaks in the emitted text, e.g. for the name attribute of a BPMN element, but still wraps text on multiple lines for layout purposes. Forced line breaks in the input are preserved. May be useful for BPMN software that does not support bounds on labels or ignores the specified font size. -
OMIT_IN_INPUT
Removes line breaks completely from the input text. -
OMIT_IN_INPUT_AND_OUTPUT
A combination ofOMIT_IN_OUTPUTandOMIT_IN_INPUT.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-