Package de.xima.fc.common.workflow.bpmn
Enum EWorkflowBpmnTextLayoutLineBreakMode
- java.lang.Object
-
- java.lang.Enum<EWorkflowBpmnTextLayoutLineBreakMode>
-
- de.xima.fc.common.workflow.bpmn.EWorkflowBpmnTextLayoutLineBreakMode
-
- All Implemented Interfaces:
Serializable
,Comparable<EWorkflowBpmnTextLayoutLineBreakMode>
public enum EWorkflowBpmnTextLayoutLineBreakMode extends Enum<EWorkflowBpmnTextLayoutLineBreakMode>
Defines how line breaks are handled when converting a workflow to a BPMN diagrams.- Since:
- 8.4.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NORMAL
Normal line breaks.OMIT_IN_INPUT
Removes line breaks completely from the input text.OMIT_IN_INPUT_AND_OUTPUT
A combination ofOMIT_IN_OUTPUT
andOMIT_IN_INPUT
.OMIT_IN_OUTPUT
Omits computed line breaks in the emitted text, e.g.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EWorkflowBpmnTextLayoutLineBreakMode
valueOf(String name)
Returns 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 Detail
-
NORMAL
public static final EWorkflowBpmnTextLayoutLineBreakMode 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
public static final EWorkflowBpmnTextLayoutLineBreakMode 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
public static final EWorkflowBpmnTextLayoutLineBreakMode OMIT_IN_INPUT
Removes line breaks completely from the input text.
-
OMIT_IN_INPUT_AND_OUTPUT
public static final EWorkflowBpmnTextLayoutLineBreakMode OMIT_IN_INPUT_AND_OUTPUT
A combination ofOMIT_IN_OUTPUT
andOMIT_IN_INPUT
.
-
-
Method Detail
-
values
public static EWorkflowBpmnTextLayoutLineBreakMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EWorkflowBpmnTextLayoutLineBreakMode c : EWorkflowBpmnTextLayoutLineBreakMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EWorkflowBpmnTextLayoutLineBreakMode valueOf(String name)
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
-
-