Class VisualGraphAbstractGraphMousePlugin<V extends VisualVertex,​E extends VisualEdge<V>>

    • Field Detail

      • isHandlingMouseEvents

        protected boolean isHandlingMouseEvents
      • selectedVertex

        protected V extends VisualVertex selectedVertex
      • selectedEdge

        protected E extends VisualEdge<V> selectedEdge
    • Constructor Detail

      • VisualGraphAbstractGraphMousePlugin

        public VisualGraphAbstractGraphMousePlugin()
      • VisualGraphAbstractGraphMousePlugin

        public VisualGraphAbstractGraphMousePlugin​(int selectionModifiers)
    • Method Detail

      • checkModifiers

        public boolean checkModifiers​(java.awt.event.MouseEvent e)
        Specified by:
        checkModifiers in interface edu.uci.ics.jung.visualization.control.GraphMousePlugin
        Overrides:
        checkModifiers in class edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
      • checkForVertex

        protected boolean checkForVertex​(java.awt.event.MouseEvent e)
      • checkForEdge

        protected boolean checkForEdge​(java.awt.event.MouseEvent e)
      • pickVertex

        protected boolean pickVertex​(V vertex,
                                     edu.uci.ics.jung.visualization.VisualizationViewer<V,​E> viewer)
      • pickEdge

        protected boolean pickEdge​(E edge,
                                   edu.uci.ics.jung.visualization.VisualizationViewer<V,​E> viewer)
      • isOverVertex

        protected boolean isOverVertex​(java.awt.event.MouseEvent e)
      • isOverEdge

        protected boolean isOverEdge​(java.awt.event.MouseEvent e)
      • installCursor

        protected void installCursor​(java.awt.Cursor newCursor,
                                     java.awt.event.MouseEvent e)
      • shouldShowCursor

        protected boolean shouldShowCursor​(java.awt.event.MouseEvent e)
      • mousePressed

        public void mousePressed​(java.awt.event.MouseEvent e)
        Specified by:
        mousePressed in interface java.awt.event.MouseListener
      • mouseClicked

        public void mouseClicked​(java.awt.event.MouseEvent e)
        Specified by:
        mouseClicked in interface java.awt.event.MouseListener
      • resetState

        protected void resetState()
      • mouseDragged

        public void mouseDragged​(java.awt.event.MouseEvent e)
        Specified by:
        mouseDragged in interface java.awt.event.MouseMotionListener
      • mouseMoved

        public void mouseMoved​(java.awt.event.MouseEvent e)
        Specified by:
        mouseMoved in interface java.awt.event.MouseMotionListener
      • mouseReleased

        public void mouseReleased​(java.awt.event.MouseEvent e)
        Specified by:
        mouseReleased in interface java.awt.event.MouseListener
      • mouseEntered

        public void mouseEntered​(java.awt.event.MouseEvent e)
        Specified by:
        mouseEntered in interface java.awt.event.MouseListener
      • mouseExited

        public void mouseExited​(java.awt.event.MouseEvent e)
        Specified by:
        mouseExited in interface java.awt.event.MouseListener