Enum EBpmnNameDirectionHint

  • All Implemented Interfaces:
    Serializable, Comparable<EBpmnNameDirectionHint>

    public enum EBpmnNameDirectionHint
    extends Enum<EBpmnNameDirectionHint>
    Enumeration for the direction hint when computing the layout of a BpmnLabel for the name of a BpmnElement. Indicates where the layouter should place the label relative to the element it describes.
    Since:
    8.4.0
    • Enum Constant Detail

      • FLOW_START

        public static final EBpmnNameDirectionHint FLOW_START
        Put the label at the start of the flow, e.g. above the element when the flow direction is south. Suitable e.g. for start events.
      • WITHIN_FLOW

        public static final EBpmnNameDirectionHint WITHIN_FLOW
        Put the label within the flow, e.g. to the left of the element when the flow direction is south. Suitable for most elements that are not start events or end events.
      • FLOW_END

        public static final EBpmnNameDirectionHint FLOW_END
        Put the label at the end of the flow, e.g. below the element when the flow direction is south. Suitable e.g. for end events.
    • Method Detail

      • values

        public static EBpmnNameDirectionHint[] 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 (EBpmnNameDirectionHint c : EBpmnNameDirectionHint.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static EBpmnNameDirectionHint 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