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 String
EAST
Generic key for an alignment item'spoints
referring to the eastern center point of the element.static String
IN_PORT
The key for an alignment item'spoints
referring to the in port of the element.static String
NORTH
Generic key for an alignment item'spoints
referring to the northern center point of the element.static String
NORTH_EAST
Generic key for an alignment item'spoints
referring to the northeastern center point of the element.static String
NORTH_WEST
Generic key for an alignment item'spoints
referring to the northwestern center point of the element.static String
OUT_PORT
The key for an alignment item'spoints
referring to the out port of the element.static String
SOUTH
Generic key for an alignment item'spoints
referring to the southern center point of the element.static String
SOUTH_EAST
Generic key for an alignment item'spoints
referring to the southeastern center point of the element.static String
SOUTH_WEST
Generic key for an alignment item'spoints
referring to the southwestern center point of the element.static String
WEST
Generic key for an alignment item'spoints
referring to the western center point of the element.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
directedNamedPoint(ECardinalDirection2D direction)
Gets the name of the point that lies at the shape's boundary in the given direction.static String
directedNamedPoint(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'spoints
referring 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'spoints
referring to the in port of the element.- See Also:
- Constant Field Values
-
NORTH
public static final String NORTH
Generic key for an alignment item'spoints
referring 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'spoints
referring 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'spoints
referring 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'spoints
referring to the out port of the element.- See Also:
- Constant Field Values
-
SOUTH
public static final String SOUTH
Generic key for an alignment item'spoints
referring 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'spoints
referring 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'spoints
referring 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'spoints
referring 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.
-
-