Package de.xima.fc.common.workflow.bpmn
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 aBpmnLabel
for aTextAnnotation
that annotates aBpmnElement
. Indicates where the layouter should place the annotation relative to the element it annotates.- Since:
- 8.4.0
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EBpmnTextAnnotationDirectionHint
valueOf(String name)
Returns 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 Detail
-
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 Detail
-
values
public static EBpmnTextAnnotationDirectionHint[] 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 (EBpmnTextAnnotationDirectionHint c : EBpmnTextAnnotationDirectionHint.values()) System.out.println(c);
- 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 nameNullPointerException
- if the argument is null
-
-