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:
GraphMousePlugin,MouseListener,EventListener
- Enclosing class:
PluggableRendererDemo
protected class PluggableRendererDemo.PopupGraphMousePlugin
extends AbstractPopupGraphMousePlugin
implements MouseListener
a GraphMousePlugin that offers popup
menu support
-
Field Summary
Fields inherited from class edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
cursor, down, modifiers -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidIf this event is over a Vertex, pop up a menu to allow the user to increase/decrease the voltage attribute of this VertexMethods inherited from class edu.uci.ics.jung.visualization.control.AbstractPopupGraphMousePlugin
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleasedMethods inherited from class edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
checkModifiers, getCursor, getModifiers, setCursor, setModifiersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.awt.event.MouseListener
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
-
Constructor Details
-
PopupGraphMousePlugin
public PopupGraphMousePlugin() -
PopupGraphMousePlugin
public PopupGraphMousePlugin(int modifiers)
-
-
Method Details
-
handlePopup
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 classAbstractPopupGraphMousePlugin- Parameters:
e- the event to be handled
-