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. See IWorkflowBpmnAlignmentItem.point(String name).
Since:
8.4.0
  • Field Details

    • EAST

      public static final String EAST
      Generic key for an alignment item's points referring to the eastern center point of the element. E.g. for a rectangle, this is the center of the right edge.
      See Also:
    • IN_PORT

      public static final String IN_PORT
      The key for an alignment item's points referring to the in port of the element.
      See Also:
    • NORTH

      public static final String NORTH
      Generic key for an alignment item's points referring to the northern center point of the element. E.g. for a rectangle, this is the center of the top edge.
      See Also:
    • NORTH_EAST

      public static final String NORTH_EAST
      Generic key for an alignment item's points referring to the northeastern center point of the element. E.g. for a rectangle, this is the top right corner.
      See Also:
    • NORTH_WEST

      public static final String NORTH_WEST
      Generic key for an alignment item's points referring to the northwestern center point of the element. E.g. for a rectangle, this is the top left corner.
      See Also:
    • OUT_PORT

      public static final String OUT_PORT
      The key for an alignment item's points referring to the out port of the element.
      See Also:
    • SOUTH

      public static final String SOUTH
      Generic key for an alignment item's points referring to the southern center point of the element. E.g. for a rectangle, this is the center of the bottom edge.
      See Also:
    • SOUTH_EAST

      public static final String SOUTH_EAST
      Generic key for an alignment item's points referring to the southeastern center point of the element. E.g. for a rectangle, this is the bottom right corner.
      See Also:
    • SOUTH_WEST

      public static final String SOUTH_WEST
      Generic key for an alignment item's points referring to the southwestern center point of the element. E.g. for a rectangle, this is the bottom left corner.
      See Also:
    • WEST

      public static final String WEST
      Generic key for an alignment item's points referring to the western center point of the element. E.g. for a rectangle, this is the center of the left edge.
      See Also:
  • Method Details

    • 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.