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 Details

    • 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 of OMIT_IN_OUTPUT and OMIT_IN_INPUT.
  • Method Details

    • values

      public static EWorkflowBpmnTextLayoutLineBreakMode[] 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

      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 name
      NullPointerException - if the argument is null