Uses of Class
de.xima.fc.common.geometry.ECardinalDirection2D
-
Packages that use ECardinalDirection2D Package Description de.xima.fc Konstanten-Klassen, Interfaces und Helper-Klassende.xima.fc.common.geometry de.xima.fc.common.workflow.bpmn de.xima.fc.interfaces.workflow.bpmn de.xima.fc.mdl.profile de.xima.fc.workflow.converter.bpmn de.xima.fc.workflow.designer.bpmn.model.settings -
-
Uses of ECardinalDirection2D in de.xima.fc
Fields in de.xima.fc declared as ECardinalDirection2D Modifier and Type Field Description static ECardinalDirection2D
CmnConst.Bpmn. DEFAULT_DIRECTION
Default direction for laying out elements in the BPMN diagram. -
Uses of ECardinalDirection2D in de.xima.fc.common.geometry
Methods in de.xima.fc.common.geometry that return ECardinalDirection2D Modifier and Type Method Description ECardinalDirection2D
ECardinalDirection2D. flip()
Rotates this direction by 180 degrees.ECardinalDirection2D
ECardinalDirection2D. negative()
Returns the cardinal direction obtained from this direction by settings theEAxisPolarity
toNEGATIVE
.static ECardinalDirection2D
ECardinalDirection2D. ofAxisAndPolarity(ECartesianAxis2D axis, EAxisPolarity polarity)
Returns the cardinal direction corresponding to the given axis and direction.ECardinalDirection2D
ECardinalDirection2D. positive()
Returns the cardinal direction obtained from this direction by settings theEAxisPolarity
toPOSITIVE
.abstract ECardinalDirection2D
EViewDirection2D. resolve(ECardinalDirection2D direction)
ECardinalDirection2D
EPrimaryIntercardinalDirection2D. rotate45Left()
Rotates this direction 45 degrees to the left.ECardinalDirection2D
EPrimaryIntercardinalDirection2D. rotate45Right()
Rotates this direction 45 degrees to the right.ECardinalDirection2D
ECardinalDirection2D. rotate90Left()
Rotates this direction 90 degrees to the left (counter-clockwise).ECardinalDirection2D
ECardinalDirection2D. rotate90Right()
Rotates this direction 90 degrees to the right (clockwise).static ECardinalDirection2D
ECardinalDirection2D. valueOf(String name)
Returns the enum constant of this type with the specified name.static ECardinalDirection2D[]
ECardinalDirection2D. values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods in de.xima.fc.common.geometry that return types with arguments of type ECardinalDirection2D Modifier and Type Method Description static OneOfN.OneOf3<ECardinalDirection2D,EPrimaryIntercardinalDirection2D,Unit>
Geometry2D. classifyRectangleCardinalPosition(Point2DDouble pos1, Rectangular2DDouble size1, Point2DDouble pos2, Rectangular2DDouble size2)
Classifies the relative position of two non-overlapping rectangles r1 and r2 in a 2D space in regard to their cardinal relationship.Methods in de.xima.fc.common.geometry with parameters of type ECardinalDirection2D Modifier and Type Method Description static EPrimaryIntercardinalDirection2D
EPrimaryIntercardinalDirection2D. between(ECardinalDirection2D first, ECardinalDirection2D second)
Calculates the primary intercardinal direction that is between the two specified cardinal directions.static double
Geometry2D. edgeCoordinate(Point2DDouble position, Rectangular2DDouble boundingBox, ECardinalDirection2D direction)
Finds the coordinate of the edge in the specified direction, assuming a rectangular bounding with the given dimensions box positioned at the given position.static EPrimaryIntercardinalDirection2D
EPrimaryIntercardinalDirection2D. intercardinalDirection2DBetween(ECardinalDirection2D first, ECardinalDirection2D second)
Calculates the primary intercardinal direction that is between the two specified cardinal directions.static double
Geometry2D. maxCoordinateInDirection(ECardinalDirection2D direction, Point2DDouble p1, Point2DDouble p2)
Returns the maximal coordinate in the specified direction for the two given points in 2D space.abstract ECardinalDirection2D
EViewDirection2D. resolve(ECardinalDirection2D direction)
-
Uses of ECardinalDirection2D in de.xima.fc.common.workflow.bpmn
Methods in de.xima.fc.common.workflow.bpmn that return ECardinalDirection2D Modifier and Type Method Description ECardinalDirection2D
WorkflowBpmnLayoutSettings. direction()
ECardinalDirection2D
AlignmentItemPorts. portDirection()
Methods in de.xima.fc.common.workflow.bpmn with parameters of type ECardinalDirection2D Modifier and Type Method Description static String
NamedBpmnElementPoints. directedNamedPoint(ECardinalDirection2D direction)
Gets the name of the point that lies at the shape's boundary in the given direction.WorkflowBpmnLayoutSettings.Builder
WorkflowBpmnLayoutSettings.Builder. direction(ECardinalDirection2D direction)
Set the direction of the BPMN diagram.static <V,C extends IWorkflowBpmnAlignmentItem<?,?>>
IWorkflowBpmnAlignmentItem<V,C>WorkflowBpmnAlignmentItems. emptyPassThroughItem(ECardinalDirection2D direction)
Creates an empty alignment item with an empty bounding box that passes through the control flow from the in port to the out port.static <Value> IWorkflowBpmnAlignmentItem<Value,?>
WorkflowBpmnAlignmentItems. emptyPassThroughItem(Value value, ECardinalDirection2D direction)
static AlignmentItemPorts
AlignmentItemPorts. of(Double inPort, Double outPort, ECardinalDirection2D portDirection)
Creates a newAlignmentItemPorts
object with the given in port, out port and port direction.Point2DDouble
EAxisAlignedRectanglePointsAccessor. point(Rectangular2DDouble boundingBox, ECardinalDirection2D direction, double ratio)
Point2DDouble
ECirclePointsAccessor. point(Rectangular2DDouble boundingBox, ECardinalDirection2D direction, double ratio)
Point2DDouble
EUprightRhombusPointsAccessor. point(Rectangular2DDouble boundingBox, ECardinalDirection2D direction, double ratio)
Point2DDouble
IWorkflowBpmnPointsAccessor. point(Rectangular2DDouble boundingBox, ECardinalDirection2D direction, double ratio)
WorkflowBpmnAlignmentItemBuilder
WorkflowBpmnAlignmentItemBuilder. portDirection(ECardinalDirection2D portDirection)
Sets the direction of the port, seeIWorkflowBpmnAlignmentItem.portDirection()
. -
Uses of ECardinalDirection2D in de.xima.fc.interfaces.workflow.bpmn
Methods in de.xima.fc.interfaces.workflow.bpmn that return ECardinalDirection2D Modifier and Type Method Description ECardinalDirection2D
IWorkflowBpmnModelContext. crossFlowDirection()
The cross flow direction, which is theflowDirection
rotated by 90 degrees anti-clockwise.ECardinalDirection2D
IWorkflowBpmnLayoutSettings. direction()
The flow direction in which the model should be laid out.ECardinalDirection2D
IWorkflowBpmnModelContext. flowDirection()
The direction of the flow indicating how BPMN elements are laid out in the diagram.ECardinalDirection2D
IWorkflowBpmnModelContext. negativeCrossFlowDirection()
Thecross flow axis
innegative
direction.ECardinalDirection2D
IWorkflowBpmnModelContext. negativeFlowDirection()
ECardinalDirection2D
IWorkflowBpmnAlignmentItem. portDirection()
The direction where the out port is located.ECardinalDirection2D
IWorkflowBpmnLayoutSubProcessBuilder. portDirection()
Gets the current port direction, either the default direction or the direction set byportDirection(side)
.ECardinalDirection2D
IWorkflowBpmnModelContext. positiveCrossFlowDirection()
Thecross flow axis
inpositive
direction.ECardinalDirection2D
IWorkflowBpmnModelContext. positiveFlowDirection()
ECardinalDirection2D
IWorkflowBpmnModelContext. reverseCrossFlowDirection()
Thereverse
of thecross flow direction
.ECardinalDirection2D
IWorkflowBpmnModelContext. reverseFlowDirection()
Thereverse
of theflow direction
.Methods in de.xima.fc.interfaces.workflow.bpmn with parameters of type ECardinalDirection2D Modifier and Type Method Description IWorkflowBpmnLayoutSubProcessBuilder
IWorkflowBpmnLayoutSubProcessBuilder. addMargin(ECardinalDirection2D direction, double margin)
Adds the given amount of margin in the given directions to the body.IWorkflowBpmnLayoutSubProcessBuilder
IWorkflowBpmnLayoutSubProcessBuilder. addPadding(ECardinalDirection2D direction, double padding)
Adds the given amount of padding in the given directions to the body.IBinarySelectionGatewayFlowLabelHelperBuilder
IBinarySelectionGatewayFlowLabelHelperBuilder. alternateDirection(ECardinalDirection2D alternateDirection)
The direction where the outgoing sequence flow that connects to the alternate branch leaves the diverging gateway.Self
IWorkflowBpmnLayoutAnnotatedElementBuilder. annotationDirection(ECardinalDirection2D direction)
Sets the direction where the text annotation should be placed.IWorkflowBpmnLayoutSubProcessBuilder
IWorkflowBpmnLayoutSubProcessBuilder. appendBoundaryEvent(ECardinalDirection2D side, double position, de.xima.bpmn_model.api.element.bpmn.events.BoundaryEvent event, IWorkflowBpmnAlignmentItem<?,?> item)
Appends a boundary event to the sub process at the given position on the given side.IWorkflowBpmnLayoutSubProcessBuilder
IWorkflowBpmnLayoutSubProcessBuilder. appendBoundaryEventAtEdge(ECardinalDirection2D side, EAxisPolarity direction, de.xima.bpmn_model.api.element.bpmn.events.BoundaryEvent event, IWorkflowBpmnAlignmentItem<?,?> item)
Appends aboundary event
at one of the foursides
of the sub process, either at the beginning or at the end of that side, depending on the given direction.IAnnotatedNamedBpmnElementLayout<de.xima.bpmn_model.api.element.bpmn.events.BoundaryEvent>
IWorkflowBpmnLayoutSubProcessBuilder. appendBoundaryEventAtEdge(ECardinalDirection2D side, EAxisPolarity direction, de.xima.bpmn_model.api.element.bpmn.events.EventDefinition<?> eventDefinition, String name)
Appends aboundary event
at one of the foursides
of the sub process, either at the beginning or at the end of that side, depending on the given direction.IWorkflowBpmnLayoutSubProcessBuilder
IWorkflowBpmnLayoutSubProcessBuilder. appendBoundaryEventAtEdge(ECardinalDirection2D side, EAxisPolarity direction, IBpmnElementLayout<de.xima.bpmn_model.api.element.bpmn.events.BoundaryEvent> event)
Appends aboundary event
at one of the foursides
of the sub process, either at the beginning or at the end of that side, depending on the given direction.IWorkflowBpmnLayoutSubProcessBuilder
IWorkflowBpmnLayoutSubProcessBuilder. appendBoundaryEventNextToEvent(ECardinalDirection2D side, EAxisPolarity direction, int boundaryEventIndex, de.xima.bpmn_model.api.element.bpmn.events.BoundaryEvent event, IWorkflowBpmnAlignmentItem<?,?> item)
Appends aboundary event
next to an existing boundary event on one of the foursides
of the sub process; either before or after the boundary event, depending on the given direction.IAnnotatedNamedBpmnElementLayout<de.xima.bpmn_model.api.element.bpmn.events.BoundaryEvent>
IWorkflowBpmnLayoutSubProcessBuilder. appendBoundaryEventNextToEvent(ECardinalDirection2D side, EAxisPolarity direction, int boundaryEventIndex, de.xima.bpmn_model.api.element.bpmn.events.EventDefinition<?> eventDefinition, String name)
Appends aboundary event
next to an existing boundary event on one of the foursides
of the sub process; either before or after the boundary event, depending on the given direction.IWorkflowBpmnLayoutSubProcessBuilder
IWorkflowBpmnLayoutSubProcessBuilder. appendBoundaryEventNextToEvent(ECardinalDirection2D side, EAxisPolarity direction, int boundaryEventIndex, IBpmnElementLayout<de.xima.bpmn_model.api.element.bpmn.events.BoundaryEvent> event)
Appends aboundary event
next to an existing boundary event on one of the foursides
of the sub process; either before or after the boundary event, depending on the given direction.de.xima.bpmn_model.api.element.bpmn.events.BoundaryEvent
IWorkflowBpmnLayoutSubProcessBuilder. boundaryEvent(ECardinalDirection2D side, int index)
Gets the nthBoundaryEvent
BPMN element at the given side.int
IWorkflowBpmnLayoutSubProcessBuilder. boundaryEventCount(ECardinalDirection2D side)
Gets the number of boundary events on the given side.double
IWorkflowBpmnLayoutSubProcessBuilder. boundaryEventPosition(ECardinalDirection2D side, int index)
Gets the position of the nth boundary event on the given sideIBinarySelectionGatewayFlowLabelHelperBuilder
IBinarySelectionGatewayFlowLabelHelperBuilder. consequentDirection(ECardinalDirection2D consequentDirection)
The direction where the outgoing sequence flow that connects to the consequent branch leaves the diverging gateway.double
IFlattenedAlignmentItemMap. coordinateAtEdge(Object value, ECardinalDirection2D direction)
Finds
the item at the given value and returns the coordinate of the edge in the given direction.de.xima.bpmn_model.api.element.dc.Point
IFlattenedAlignmentItemMap. createBpmnPointAtEdge(Object value, ECardinalDirection2D side, double position)
Finds
the item at the given value and creates a newPoint
for that a point on one of the item's 4 edges.de.xima.bpmn_model.api.element.dc.Point
IFlattenedAlignmentItemMap. createBpmnPointAtEdgeRelative(Object value, ECardinalDirection2D side, double ratio)
Finds
the item at the given value and creates a newPoint
for that a point on one of the item's 4 edges.Self
IWorkflowBpmnLayoutCardinalDirectionOptionsBuilder. direction(ECardinalDirection2D direction)
Sets the cardinal direction in which to align the items.IWorkflowBpmnLayoutPadBuilder
IWorkflowBpmnLayoutPadBuilder. direction(ECardinalDirection2D direction, double amount)
Sets the padding in the given direction.IWorkflowBpmnLayoutSubProcessBuilder
IWorkflowBpmnLayoutSubProcessBuilder. enlargeInnerLength(ECardinalDirection2D side, double length)
Increases the inner length of the sub process to the given value by adding new space at the given side.IWorkflowBpmnLayoutSubProcessBuilder
IWorkflowBpmnLayoutSubProcessBuilder. enlargeInnerLengthBy(ECardinalDirection2D side, double amount)
Increases the inner length of the sub process by the given amount at the given side, adding new space at that side.IWorkflowBpmnLayoutSubProcessBuilder
IWorkflowBpmnLayoutSubProcessBuilder. enlargeOuterLength(ECardinalDirection2D side, double length)
Increases the outer length of the sub process to the given value by adding new space at the given side.IWorkflowBpmnLayoutSubProcessBuilder
IWorkflowBpmnLayoutSubProcessBuilder. enlargeOuterLengthBy(ECardinalDirection2D side, double amount)
Increases the outer length of the sub process by the given amount at the given side, adding new space at that side.Self
IWorkflowBpmnConnectionEdgeBuilder. fromEdge(IBpmnElementAccessor<? extends Element> element, ECardinalDirection2D side, double position)
Sets the connection's source to a point on an edge of the given element.Self
IWorkflowBpmnConnectionEdgeBuilder. fromEdge(Element element, ECardinalDirection2D side, double position)
Sets the connection's source to a point on an edge of the given element.boolean
IWorkflowBpmnLayoutSubProcessBuilder. hasBoundaryEvents(ECardinalDirection2D side)
Checks whether the sub process has any boundary events on the given side.Self
IWorkflowBpmnLayoutNamedOutsideBuilder. nameDirection(ECardinalDirection2D direction)
Sets the direction where the text annotation should be placed.Point2DDouble
IWorkflowBpmnAlignmentItem. point(ECardinalDirection2D direction, double ratio)
Returns the point on the boundary of this alignment item in the given direction and at the given ratio.Point2DDouble
IFlattenedAlignmentItemMap. pointAtEdge(Object value, ECardinalDirection2D side, double position)
Finds
the item at the given value and creates a point on one of that item's edges at the given position.Point2DDouble
IFlattenedAlignmentItemMap. pointAtEdgeRelative(Object value, ECardinalDirection2D side, double ratio)
Finds
the item at the given value and creates a point on one of that item's edges at the given position.Self
IWorkflowBpmnLayoutPortDirectionOptionsBuilder. portDirection(ECardinalDirection2D portDirection)
Sets the in / out port position.double
IWorkflowBpmnAlignmentSelector. selectInPoint(IWorkflowBpmnAlignmentItem<?,?> item, int index, ECardinalDirection2D side)
Selects the in-point of the given item at the specified index and side.double
IWorkflowBpmnAlignmentSelector. selectOutPoint(IWorkflowBpmnAlignmentItem<?,?> item, int index, ECardinalDirection2D side)
Selects the out-point of the given item at the specified index and side.AlignmentItemPorts
IWorkflowBpmnAlignAtAxisPortSelector. selectPort(List<? extends Positioned<? extends IWorkflowBpmnAlignmentItem<?,?>,Point2DDouble>> positionedItems, ECardinalDirection2D direction)
Selects the in and out ports to use for the builtIWorkflowBpmnAlignmentItem
representing the aligned children.double
IWorkflowBpmnCardinalAlignmentSpacingSelector. selectSpacing(List<? extends IWorkflowBpmnAlignmentItem<?,?>> items, ECardinalDirection2D direction, int itemIndex)
Selects the spacing to use when aligningalignment items
in acardinal direction
.IWorkflowBpmnLayoutSubProcessBuilder
IWorkflowBpmnLayoutSubProcessBuilder. spaceBoundaryEventsEvenly(ECardinalDirection2D side)
Repositions all boundary events on the given side that were added viaappendBoundaryEvent
.double
IWorkflowBpmnModelContext. spacing(ECardinalDirection2D side)
Gets the default spacing for the given side.Self
IWorkflowBpmnConnectionEdgeBuilder. toEdge(IBpmnElementAccessor<? extends Element> element, ECardinalDirection2D side, double position)
Sets the connection's target to a point on an edge of the given element.Self
IWorkflowBpmnConnectionEdgeBuilder. toEdge(Element element, ECardinalDirection2D side, double position)
Sets the connection's target to a point on an edge of the given element.Method parameters in de.xima.fc.interfaces.workflow.bpmn with type arguments of type ECardinalDirection2D Modifier and Type Method Description IWorkflowBpmnLayoutAlignAroundBuilder
IWorkflowBpmnLayoutAlignAroundBuilder. direction(OneOfN.Either<ECardinalDirection2D,EPrimaryIntercardinalDirection2D> direction)
Sets a hint for the direction where the second item should be placed.Self
IWorkflowBpmnLayoutCardinalDirectionOptionsBuilder. directionRelativeToFlow(UnaryOperator<ECardinalDirection2D> direction)
Sets the direction along which to align the items. -
Uses of ECardinalDirection2D in de.xima.fc.mdl.profile
Methods in de.xima.fc.mdl.profile that return ECardinalDirection2D Modifier and Type Method Description ECardinalDirection2D
DesignerPreferences. getBpmnDirection()
Methods in de.xima.fc.mdl.profile with parameters of type ECardinalDirection2D Modifier and Type Method Description void
DesignerPreferences. setBpmnDirection(ECardinalDirection2D bpmnDirection)
-
Uses of ECardinalDirection2D in de.xima.fc.workflow.converter.bpmn
Methods in de.xima.fc.workflow.converter.bpmn with parameters of type ECardinalDirection2D Modifier and Type Method Description double
EdgeRatioAlignmentSelector. selectInPoint(IWorkflowBpmnAlignmentItem<?,?> item, int index, ECardinalDirection2D side)
double
EdgeRatioAlignmentSelector. selectOutPoint(IWorkflowBpmnAlignmentItem<?,?> item, int index, ECardinalDirection2D side)
-
Uses of ECardinalDirection2D in de.xima.fc.workflow.designer.bpmn.model.settings
Methods in de.xima.fc.workflow.designer.bpmn.model.settings that return ECardinalDirection2D Modifier and Type Method Description ECardinalDirection2D
GeneralSettingsViewModel. getDirection()
Gets the main direction for orienting the elements in the BPMN diagram.Methods in de.xima.fc.workflow.designer.bpmn.model.settings with parameters of type ECardinalDirection2D Modifier and Type Method Description void
GeneralSettingsViewModel. setDirection(ECardinalDirection2D direction)
Sets the main direction for orienting the elements in the BPMN diagram.
-