Package 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:
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.MouseListenera GraphMousePlugin that offers popup menu support
-
-
Constructor Summary
Constructors Constructor Description PopupGraphMousePlugin()PopupGraphMousePlugin(int modifiers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidhandlePopup(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
-
-
-
-
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:
handlePopupin classedu.uci.ics.jung.visualization.control.AbstractPopupGraphMousePlugin- Parameters:
e-
-
-