Package ghidra.graph.viewer.event.mouse
Class VisualGraphTranslatingGraphMousePlugin<V extends VisualVertex,E extends VisualEdge<V>>
java.lang.Object
edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
ghidra.graph.viewer.event.mouse.VisualGraphTranslatingGraphMousePlugin<V,E>
- Type Parameters:
V
- the vertex typeE
- the edge type
- All Implemented Interfaces:
edu.uci.ics.jung.visualization.control.GraphMousePlugin
,VisualGraphMousePlugin<V,
,E> MouseListener
,MouseMotionListener
,EventListener
public class VisualGraphTranslatingGraphMousePlugin<V extends VisualVertex,E extends VisualEdge<V>>
extends edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
implements MouseListener, MouseMotionListener, VisualGraphMousePlugin<V,E>
Note: this class is based on
TranslatingGraphMousePlugin
.
TranslatingGraphMousePlugin uses a MouseButtonOne press and drag gesture to translate the graph display in the x and y direction. The default MouseButtonOne modifier can be overridden to cause a different mouse gesture to translate the display.
-
Field Summary
Fields inherited from class edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
cursor, down, modifiers
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
void
void
void
void
void
void
void
Methods inherited from class edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
getCursor, getModifiers, setCursor, setModifiers
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface ghidra.graph.viewer.event.mouse.VisualGraphMousePlugin
dispose, getGraphViewer, getSatelliteGraphViewer, getViewer, getViewUpdater, getViewUpdater
-
Constructor Details
-
VisualGraphTranslatingGraphMousePlugin
public VisualGraphTranslatingGraphMousePlugin() -
VisualGraphTranslatingGraphMousePlugin
public VisualGraphTranslatingGraphMousePlugin(int modifiers)
-
-
Method Details
-
checkModifiers
- Specified by:
checkModifiers
in interfaceedu.uci.ics.jung.visualization.control.GraphMousePlugin
- Overrides:
checkModifiers
in classedu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
-
mousePressed
- Specified by:
mousePressed
in interfaceMouseListener
-
mouseReleased
- Specified by:
mouseReleased
in interfaceMouseListener
-
mouseDragged
- Specified by:
mouseDragged
in interfaceMouseMotionListener
-
mouseClicked
- Specified by:
mouseClicked
in interfaceMouseListener
-
mouseEntered
- Specified by:
mouseEntered
in interfaceMouseListener
-
mouseExited
- Specified by:
mouseExited
in interfaceMouseListener
-
mouseMoved
- Specified by:
mouseMoved
in interfaceMouseMotionListener
-