Class EditingPopupGraphMousePlugin<V,E>
- java.lang.Object
-
- org.jungrapht.visualization.control.AbstractGraphMousePlugin
-
- org.jungrapht.visualization.control.AbstractPopupGraphMousePlugin
-
- org.jungrapht.visualization.control.EditingPopupGraphMousePlugin<V,E>
-
- Type Parameters:
V
- vertex typeE
- edge type
- All Implemented Interfaces:
MouseListener
,EventListener
,GraphMousePlugin
public class EditingPopupGraphMousePlugin<V,E> extends AbstractPopupGraphMousePlugin
a plugin that uses popup menus to create vertices, undirected edges, and directed edges.- Author:
- Tom Nelson
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jungrapht.visualization.control.AbstractGraphMousePlugin
AbstractGraphMousePlugin.Selecting
-
-
Field Summary
Fields Modifier and Type Field Description protected Supplier<E>
edgeFactory
protected Supplier<V>
vertexFactory
-
Fields inherited from class org.jungrapht.visualization.control.AbstractPopupGraphMousePlugin
modifiers
-
Fields inherited from class org.jungrapht.visualization.control.AbstractGraphMousePlugin
cursor, down
-
-
Constructor Summary
Constructors Constructor Description EditingPopupGraphMousePlugin(Supplier<V> vertexFactory, Supplier<E> edgeFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
handlePopup(MouseEvent e)
-
Methods inherited from class org.jungrapht.visualization.control.AbstractPopupGraphMousePlugin
mouseClicked, mouseEntered, mouseExited, mousePressed, mouseReleased
-
Methods inherited from class org.jungrapht.visualization.control.AbstractGraphMousePlugin
checkModifiers, getCursor, getModifiersEx, setCursor, setModifiers
-
-
-
-
Method Detail
-
handlePopup
protected void handlePopup(MouseEvent e)
- Specified by:
handlePopup
in classAbstractPopupGraphMousePlugin
-
-