Enum EBpmnTextAnnotationDirectionHint

java.lang.Object
java.lang.Enum<EBpmnTextAnnotationDirectionHint>
de.xima.fc.common.workflow.bpmn.EBpmnTextAnnotationDirectionHint
All Implemented Interfaces:
Serializable, Comparable<EBpmnTextAnnotationDirectionHint>

public enum EBpmnTextAnnotationDirectionHint extends Enum<EBpmnTextAnnotationDirectionHint>
Enumeration for the direction hint when computing the layout of a BpmnLabel for a TextAnnotation that annotates a BpmnElement. Indicates where the layouter should place the annotation relative to the element it annotates.
Since:
8.4.0
  • Enum Constant Details

    • STRAIGHT

      public static final EBpmnTextAnnotationDirectionHint STRAIGHT
      Put the annotation straight next to the element it annotates, e.g. to the right of the element when the flow direction is south.
    • DIAGONAL

      public static final EBpmnTextAnnotationDirectionHint DIAGONAL
      Put the annotation diagonally above the element it annotates, e.g. when the flow direction is ast, the annotation will be placed northwest of the element.
  • Method Details

    • values

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