Package de.xima.fc.common.workflow.bpmn
Class NamedBpmnElementPoints
- java.lang.Object
-
- de.xima.fc.common.workflow.bpmn.NamedBpmnElementPoints
-
public final class NamedBpmnElementPoints extends Object
Special points on BPMN elements with a name. These points are used for alignment and layout purposes. SeeIWorkflowBpmnAlignmentItem.point(String name).- Since:
- 8.4.0
-
-
Field Summary
Fields Modifier and Type Field Description static StringEASTGeneric key for an alignment item'spointsreferring to the eastern center point of the element.static StringIN_PORTThe key for an alignment item'spointsreferring to the in port of the element.static StringNORTHGeneric key for an alignment item'spointsreferring to the northern center point of the element.static StringNORTH_EASTGeneric key for an alignment item'spointsreferring to the northeastern center point of the element.static StringNORTH_WESTGeneric key for an alignment item'spointsreferring to the northwestern center point of the element.static StringOUT_PORTThe key for an alignment item'spointsreferring to the out port of the element.static StringSOUTHGeneric key for an alignment item'spointsreferring to the southern center point of the element.static StringSOUTH_EASTGeneric key for an alignment item'spointsreferring to the southeastern center point of the element.static StringSOUTH_WESTGeneric key for an alignment item'spointsreferring to the southwestern center point of the element.static StringWESTGeneric key for an alignment item'spointsreferring to the western center point of the element.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringdirectedNamedPoint(ECardinalDirection2D direction)Gets the name of the point that lies at the shape's boundary in the given direction.static StringdirectedNamedPoint(EPrimaryIntercardinalDirection2D direction)Gets the name of the point that lies at the shape's boundary in the given direction.
-
-
-
Field Detail
-
EAST
public static final String EAST
Generic key for an alignment item'spointsreferring to the eastern center point of the element. E.g. for a rectangle, this is the center of the right edge.- See Also:
- Constant Field Values
-
IN_PORT
public static final String IN_PORT
The key for an alignment item'spointsreferring to the in port of the element.- See Also:
- Constant Field Values
-
NORTH
public static final String NORTH
Generic key for an alignment item'spointsreferring to the northern center point of the element. E.g. for a rectangle, this is the center of the top edge.- See Also:
- Constant Field Values
-
NORTH_EAST
public static final String NORTH_EAST
Generic key for an alignment item'spointsreferring to the northeastern center point of the element. E.g. for a rectangle, this is the top right corner.- See Also:
- Constant Field Values
-
NORTH_WEST
public static final String NORTH_WEST
Generic key for an alignment item'spointsreferring to the northwestern center point of the element. E.g. for a rectangle, this is the top left corner.- See Also:
- Constant Field Values
-
OUT_PORT
public static final String OUT_PORT
The key for an alignment item'spointsreferring to the out port of the element.- See Also:
- Constant Field Values
-
SOUTH
public static final String SOUTH
Generic key for an alignment item'spointsreferring to the southern center point of the element. E.g. for a rectangle, this is the center of the bottom edge.- See Also:
- Constant Field Values
-
SOUTH_EAST
public static final String SOUTH_EAST
Generic key for an alignment item'spointsreferring to the southeastern center point of the element. E.g. for a rectangle, this is the bottom right corner.- See Also:
- Constant Field Values
-
SOUTH_WEST
public static final String SOUTH_WEST
Generic key for an alignment item'spointsreferring to the southwestern center point of the element. E.g. for a rectangle, this is the bottom left corner.- See Also:
- Constant Field Values
-
WEST
public static final String WEST
Generic key for an alignment item'spointsreferring to the western center point of the element. E.g. for a rectangle, this is the center of the left edge.- See Also:
- Constant Field Values
-
-
Method Detail
-
directedNamedPoint
public static String directedNamedPoint(ECardinalDirection2D direction)
Gets the name of the point that lies at the shape's boundary in the given direction.- Parameters:
direction- The direction.- Returns:
- The name of the point in the given direction.
-
directedNamedPoint
public static String directedNamedPoint(EPrimaryIntercardinalDirection2D direction)
Gets the name of the point that lies at the shape's boundary in the given direction.- Parameters:
direction- The direction.- Returns:
- The name of the point in the given direction.
-
-