Enum EContainerItemAlignment
- All Implemented Interfaces:
IWorkflowBpmnAlignmentSelector, Serializable, Comparable<EContainerItemAlignment>
public enum EContainerItemAlignment
extends Enum<EContainerItemAlignment>
implements IWorkflowBpmnAlignmentSelector
Predefined alignments for aligning boxes inside a container. The alignment function takes the size of the box and
must return a value in the interval [0, size]. For example, when the function returns size / 2, the items are
centered, which is similar to the CSS flexbox property align-items.
- Since:
- 8.4.0
-
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic EContainerItemAlignmentReturns the enum constant of this type with the specified name.static EContainerItemAlignment[]values()Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface IWorkflowBpmnAlignmentSelector
selectInPoint, selectOutPoint
-
Enum Constant Details
-
START
Aligns items at the start of the container -
CENTER
Aligns items at the center of the container -
END
Aligns items at the end of the container -
PORT
Aligns items at their in / out ports, if available, otherwise at the center of the edge
-
-
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
-