Package ghidra.graph.viewer.event.mouse
Class VisualGraphZoomingPickingGraphMousePlugin<V extends VisualVertex,E extends VisualEdge<V>>
- java.lang.Object
-
- edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
-
- ghidra.graph.viewer.event.mouse.VisualGraphAbstractGraphMousePlugin<V,E>
-
- ghidra.graph.viewer.event.mouse.VisualGraphZoomingPickingGraphMousePlugin<V,E>
-
- Type Parameters:
V
- the vertex typeE
- the edge type
- All Implemented Interfaces:
edu.uci.ics.jung.visualization.control.GraphMousePlugin
,VisualGraphMousePlugin<V,E>
,java.awt.event.MouseListener
,java.awt.event.MouseMotionListener
,java.util.EventListener
public class VisualGraphZoomingPickingGraphMousePlugin<V extends VisualVertex,E extends VisualEdge<V>> extends VisualGraphAbstractGraphMousePlugin<V,E>
A handler to zoom nodes when double-clicked. If the vertex is zoomed out, then we will zoom in and center. If the vertex is zoomed to full size, then we will zoom out and center.
-
-
Field Summary
-
Fields inherited from class ghidra.graph.viewer.event.mouse.VisualGraphAbstractGraphMousePlugin
isHandlingMouseEvents, selectedEdge, selectedVertex
-
-
Constructor Summary
Constructors Constructor Description VisualGraphZoomingPickingGraphMousePlugin()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mouseClicked(java.awt.event.MouseEvent e)
void
mousePressed(java.awt.event.MouseEvent e)
-
Methods inherited from class ghidra.graph.viewer.event.mouse.VisualGraphAbstractGraphMousePlugin
checkForEdge, checkForVertex, checkModifiers, installCursor, isOverEdge, isOverVertex, mouseDragged, mouseEntered, mouseExited, mouseMoved, mouseReleased, pickEdge, pickVertex, resetState, shouldShowCursor
-
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
-
-
-
-
Method Detail
-
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- Specified by:
mousePressed
in interfacejava.awt.event.MouseListener
- Overrides:
mousePressed
in classVisualGraphAbstractGraphMousePlugin<V extends VisualVertex,E extends VisualEdge<V>>
-
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
- Specified by:
mouseClicked
in interfacejava.awt.event.MouseListener
- Overrides:
mouseClicked
in classVisualGraphAbstractGraphMousePlugin<V extends VisualVertex,E extends VisualEdge<V>>
-
-