Class PluggableRendererDemo.PopupGraphMousePlugin

  • All Implemented Interfaces:
    edu.uci.ics.jung.visualization.control.GraphMousePlugin, java.awt.event.MouseListener, java.util.EventListener
    Enclosing class:
    PluggableRendererDemo

    protected class PluggableRendererDemo.PopupGraphMousePlugin
    extends edu.uci.ics.jung.visualization.control.AbstractPopupGraphMousePlugin
    implements java.awt.event.MouseListener
    a GraphMousePlugin that offers popup menu support
    • Field Summary

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

        cursor, down, modifiers
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void handlePopup​(java.awt.event.MouseEvent e)
      If this event is over a Vertex, pop up a menu to allow the user to increase/decrease the voltage attribute of this Vertex
      • Methods inherited from class edu.uci.ics.jung.visualization.control.AbstractPopupGraphMousePlugin

        mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
      • Methods inherited from class edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin

        checkModifiers, getCursor, getModifiers, setCursor, setModifiers
      • 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, mouseReleased
    • Constructor Detail

      • PopupGraphMousePlugin

        public PopupGraphMousePlugin()
      • PopupGraphMousePlugin

        public PopupGraphMousePlugin​(int modifiers)
    • Method Detail

      • handlePopup

        protected void handlePopup​(java.awt.event.MouseEvent e)
        If this event is over a Vertex, pop up a menu to allow the user to increase/decrease the voltage attribute of this Vertex
        Specified by:
        handlePopup in class edu.uci.ics.jung.visualization.control.AbstractPopupGraphMousePlugin
        Parameters:
        e -