edu.uci.ics.jung.visualization.control
Class EditingPopupGraphMousePlugin<V,E>
java.lang.Object
edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
edu.uci.ics.jung.visualization.control.AbstractPopupGraphMousePlugin
edu.uci.ics.jung.visualization.control.EditingPopupGraphMousePlugin<V,E>
- All Implemented Interfaces:
- GraphMousePlugin, MouseListener, EventListener
public class EditingPopupGraphMousePlugin<V,E>
- extends AbstractPopupGraphMousePlugin
a plugin that uses popup menus to create vertices, undirected edges,
and directed edges.
- Author:
- Tom Nelson
Constructor Summary |
EditingPopupGraphMousePlugin(org.apache.commons.collections15.Factory<V> vertexFactory,
org.apache.commons.collections15.Factory<E> edgeFactory)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
vertexFactory
protected org.apache.commons.collections15.Factory<V> vertexFactory
edgeFactory
protected org.apache.commons.collections15.Factory<E> edgeFactory
popup
protected JPopupMenu popup
EditingPopupGraphMousePlugin
public EditingPopupGraphMousePlugin(org.apache.commons.collections15.Factory<V> vertexFactory,
org.apache.commons.collections15.Factory<E> edgeFactory)
handlePopup
protected void handlePopup(MouseEvent e)
- Specified by:
handlePopup
in class AbstractPopupGraphMousePlugin
Copyright © 2009. All Rights Reserved.