Package de.xima.fc.common.workflow.bpmn
Enum EBpmnNameDirectionHint
- java.lang.Object
-
- java.lang.Enum<EBpmnNameDirectionHint>
-
- de.xima.fc.common.workflow.bpmn.EBpmnNameDirectionHint
-
- All Implemented Interfaces:
Serializable
,Comparable<EBpmnNameDirectionHint>
public enum EBpmnNameDirectionHint extends Enum<EBpmnNameDirectionHint>
Enumeration for the direction hint when computing the layout of aBpmnLabel
for thename
of aBpmnElement
. Indicates where the layouter should place the label relative to the element it describes.- Since:
- 8.4.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FLOW_END
Put the label at the end of the flow, e.g.FLOW_START
Put the label at the start of the flow, e.g.WITHIN_FLOW
Put the label within the flow, e.g.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EBpmnNameDirectionHint
valueOf(String name)
Returns 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 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. forstart 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. forend 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 nameNullPointerException
- if the argument is null
-
-