Enum EBpmnNameDirectionHint
- All Implemented Interfaces:
Serializable, Comparable<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 Summary
Enum ConstantsEnum ConstantDescriptionPut the label at the end of the flow, e.g. below the element when the flow direction is south.Put the label at the start of the flow, e.g. above the element when the flow direction is south.Put the label within the flow, e.g. to the left of the element when the flow direction is south. -
Method Summary
Modifier and TypeMethodDescriptionstatic EBpmnNameDirectionHintReturns the enum constant of this type with the specified name.static EBpmnNameDirectionHint[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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. forstart events. -
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
Put the label at the end of the flow, e.g. below the element when the flow direction is south. Suitable e.g. forend events.
-
-
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
-