Package ghidra.graph.viewer.event.mouse
Class VisualGraphHoverMousePlugin<V extends VisualVertex,E extends VisualEdge<V>>
- java.lang.Object
-
- edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
-
- ghidra.graph.viewer.event.mouse.VisualGraphHoverMousePlugin<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 VisualGraphHoverMousePlugin<V extends VisualVertex,E extends VisualEdge<V>> extends edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin implements java.awt.event.MouseMotionListener, java.awt.event.MouseListener, VisualGraphMousePlugin<V,E>
A mouse plugin to handle vertex hovers, to include animating paths in the graph, based upon the currentPathHighlightMode
.
-
-
Constructor Summary
Constructors Constructor Description VisualGraphHoverMousePlugin(GraphComponent<V,E,?> graphComponent, edu.uci.ics.jung.visualization.VisualizationViewer<V,E> viewer, edu.uci.ics.jung.visualization.VisualizationViewer<V,E> otherViewer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
checkModifiers(java.awt.event.MouseEvent e)
void
dispose()
Signals to perform any cleanup when this plugin is going awayvoid
mouseClicked(java.awt.event.MouseEvent e)
void
mouseDragged(java.awt.event.MouseEvent e)
void
mouseEntered(java.awt.event.MouseEvent e)
void
mouseExited(java.awt.event.MouseEvent e)
void
mouseMoved(java.awt.event.MouseEvent e)
void
mousePressed(java.awt.event.MouseEvent e)
void
mouseReleased(java.awt.event.MouseEvent e)
-
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
getGraphViewer, getSatelliteGraphViewer, getViewer, getViewUpdater, getViewUpdater
-
-
-
-
Method Detail
-
checkModifiers
public boolean checkModifiers(java.awt.event.MouseEvent e)
- Specified by:
checkModifiers
in interfaceedu.uci.ics.jung.visualization.control.GraphMousePlugin
- Overrides:
checkModifiers
in classedu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
-
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent e)
- Specified by:
mouseMoved
in interfacejava.awt.event.MouseMotionListener
-
mouseExited
public void mouseExited(java.awt.event.MouseEvent e)
- Specified by:
mouseExited
in interfacejava.awt.event.MouseListener
-
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e)
- Specified by:
mouseDragged
in interfacejava.awt.event.MouseMotionListener
-
mouseReleased
public void mouseReleased(java.awt.event.MouseEvent e)
- Specified by:
mouseReleased
in interfacejava.awt.event.MouseListener
-
mouseEntered
public void mouseEntered(java.awt.event.MouseEvent e)
- Specified by:
mouseEntered
in interfacejava.awt.event.MouseListener
-
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- Specified by:
mousePressed
in interfacejava.awt.event.MouseListener
-
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
- Specified by:
mouseClicked
in interfacejava.awt.event.MouseListener
-
dispose
public void dispose()
Description copied from interface:VisualGraphMousePlugin
Signals to perform any cleanup when this plugin is going away- Specified by:
dispose
in interfaceVisualGraphMousePlugin<V extends VisualVertex,E extends VisualEdge<V>>
-
-