Class PluggableRendererDemo.PopupGraphMousePlugin

All Implemented Interfaces:
GraphMousePlugin, MouseListener, EventListener
Enclosing class:
PluggableRendererDemo

protected class PluggableRendererDemo.PopupGraphMousePlugin extends AbstractPopupGraphMousePlugin implements MouseListener
a GraphMousePlugin that offers popup menu support
  • Constructor Details

    • PopupGraphMousePlugin

      public PopupGraphMousePlugin()
    • PopupGraphMousePlugin

      public PopupGraphMousePlugin(int modifiers)
  • Method Details

    • handlePopup

      protected void handlePopup(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 AbstractPopupGraphMousePlugin
      Parameters:
      e - the event to be handled