Class SequenceEdgeStyleFunction
- java.lang.Object
-
- jadex.bpmn.editor.gui.stylesheets.SequenceEdgeStyleFunction
-
- All Implemented Interfaces:
com.mxgraph.view.mxEdgeStyle.mxEdgeStyleFunction
public class SequenceEdgeStyleFunction extends java.lang.Object implements com.mxgraph.view.mxEdgeStyle.mxEdgeStyleFunctionStyle function for sequence edges.
-
-
Field Summary
Fields Modifier and Type Field Description protected static doubleNON_ALIGNED_AXIS_OFFSET_ADJUSTMENTOffset adjustment for non-aligned axis
-
Constructor Summary
Constructors Constructor Description SequenceEdgeStyleFunction()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static com.mxgraph.util.mxPointadjustPoint(com.mxgraph.view.mxGraph graph, java.lang.Object parent, com.mxgraph.util.mxPoint point)Adjusts a point for relative positioning.voidapply(com.mxgraph.view.mxCellState state, com.mxgraph.view.mxCellState source, com.mxgraph.view.mxCellState target, java.util.List<com.mxgraph.util.mxPoint> points, java.util.List<com.mxgraph.util.mxPoint> result)Applies the style.static VActivitygetVActivity(java.lang.Object cell)
-
-
-
Field Detail
-
NON_ALIGNED_AXIS_OFFSET_ADJUSTMENT
protected static final double NON_ALIGNED_AXIS_OFFSET_ADJUSTMENT
Offset adjustment for non-aligned axis- See Also:
- Constant Field Values
-
-
Method Detail
-
apply
public void apply(com.mxgraph.view.mxCellState state, com.mxgraph.view.mxCellState source, com.mxgraph.view.mxCellState target, java.util.List<com.mxgraph.util.mxPoint> points, java.util.List<com.mxgraph.util.mxPoint> result)Applies the style.- Specified by:
applyin interfacecom.mxgraph.view.mxEdgeStyle.mxEdgeStyleFunction
-
adjustPoint
public static final com.mxgraph.util.mxPoint adjustPoint(com.mxgraph.view.mxGraph graph, java.lang.Object parent, com.mxgraph.util.mxPoint point)Adjusts a point for relative positioning.- Parameters:
modelcontainer- The model container.parent- The parent cell.point- The unadjusted targeted point.- Returns:
- The adjusted point.
-
getVActivity
public static final VActivity getVActivity(java.lang.Object cell)
-
-