Enum EBpmnTextAnnotationDirectionHint
java.lang.Object
java.lang.Enum<EBpmnTextAnnotationDirectionHint>
de.xima.fc.common.workflow.bpmn.EBpmnTextAnnotationDirectionHint
- All Implemented Interfaces:
Serializable, Comparable<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 Summary
Enum ConstantsEnum ConstantDescriptionPut 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.Put the annotation straight next to the element it annotates, e.g. to the right of the element when the flow direction is south. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.static EBpmnTextAnnotationDirectionHint[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
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
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
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
-