edu.uci.ics.jung.samples
Class PluggableRendererDemo.PopupGraphMousePlugin
java.lang.Object
edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
edu.uci.ics.jung.visualization.control.AbstractPopupGraphMousePlugin
edu.uci.ics.jung.samples.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
Method Summary |
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 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PluggableRendererDemo.PopupGraphMousePlugin
public PluggableRendererDemo.PopupGraphMousePlugin()
PluggableRendererDemo.PopupGraphMousePlugin
public PluggableRendererDemo.PopupGraphMousePlugin(int modifiers)
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
-
Copyright © 2009. All Rights Reserved.