Class JGraphFoldingManager

  • All Implemented Interfaces:
    java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.awt.event.MouseWheelListener, java.util.EventListener, javax.swing.event.MouseInputListener

    public class JGraphFoldingManager
    extends javax.swing.event.MouseInputAdapter
    Mananges the folding and unfolding of groups
    • Constructor Summary

      Constructors 
      Constructor Description
      JGraphFoldingManager​(org.processmining.models.connections.GraphLayoutConnection layoutConnection)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static org.processmining.framework.util.Pair<org.processmining.models.graphbased.Expandable,​org.jgraph.graph.CellView> getGroupByFoldingHandle​(org.jgraph.JGraph graph, java.awt.geom.Point2D pt)
      Called when the mouse button is released to see if a collapse or expand request has been made
      void mouseReleased​(java.awt.event.MouseEvent e)
      Called when the mouse button is released to see if a collapse or expand request has been made
      • Methods inherited from class java.awt.event.MouseAdapter

        mouseClicked, mouseDragged, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseWheelMoved
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface java.awt.event.MouseListener

        mouseClicked, mouseEntered, mouseExited, mousePressed
      • Methods inherited from interface java.awt.event.MouseMotionListener

        mouseDragged, mouseMoved
    • Constructor Detail

      • JGraphFoldingManager

        public JGraphFoldingManager​(org.processmining.models.connections.GraphLayoutConnection layoutConnection)
    • Method Detail

      • mouseReleased

        public void mouseReleased​(java.awt.event.MouseEvent e)
        Called when the mouse button is released to see if a collapse or expand request has been made
        Specified by:
        mouseReleased in interface java.awt.event.MouseListener
        Overrides:
        mouseReleased in class java.awt.event.MouseAdapter
      • getGroupByFoldingHandle

        public static org.processmining.framework.util.Pair<org.processmining.models.graphbased.Expandable,​org.jgraph.graph.CellView> getGroupByFoldingHandle​(org.jgraph.JGraph graph,
                                                                                                                                                                    java.awt.geom.Point2D pt)
        Called when the mouse button is released to see if a collapse or expand request has been made