Class SequenceEdgeStyleFunction

  • All Implemented Interfaces:
    com.mxgraph.view.mxEdgeStyle.mxEdgeStyleFunction

    public class SequenceEdgeStyleFunction
    extends java.lang.Object
    implements com.mxgraph.view.mxEdgeStyle.mxEdgeStyleFunction
    Style function for sequence edges.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static 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.
      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.
      static VActivity getVActivity​(java.lang.Object cell)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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
    • Constructor Detail

      • SequenceEdgeStyleFunction

        public SequenceEdgeStyleFunction()
    • 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:
        apply in interface com.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)