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

  • Type Parameters:
    V - the vertex type
    E - the edge type
    All Implemented Interfaces:
    edu.uci.ics.jung.visualization.control.GraphMousePlugin, VisualGraphMousePlugin<V,​E>, java.awt.event.MouseListener, java.awt.event.MouseMotionListener, java.util.EventListener

    public class VisualGraphHoverMousePlugin<V extends VisualVertex,​E extends VisualEdge<V>>
    extends edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
    implements java.awt.event.MouseMotionListener, java.awt.event.MouseListener, VisualGraphMousePlugin<V,​E>
    A mouse plugin to handle vertex hovers, to include animating paths in the graph, based upon the current PathHighlightMode.
    • Field Summary

      • Fields inherited from class edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin

        cursor, down, modifiers
    • Constructor Summary

      Constructors 
      Constructor Description
      VisualGraphHoverMousePlugin​(GraphComponent<V,​E,​?> graphComponent, edu.uci.ics.jung.visualization.VisualizationViewer<V,​E> viewer, edu.uci.ics.jung.visualization.VisualizationViewer<V,​E> otherViewer)  
    • Constructor Detail

      • VisualGraphHoverMousePlugin

        public VisualGraphHoverMousePlugin​(GraphComponent<V,​E,​?> graphComponent,
                                           edu.uci.ics.jung.visualization.VisualizationViewer<V,​E> viewer,
                                           edu.uci.ics.jung.visualization.VisualizationViewer<V,​E> otherViewer)
    • Method Detail

      • mouseMoved

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

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

        public void mouseDragged​(java.awt.event.MouseEvent e)
        Specified by:
        mouseDragged 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
      • 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