Package ghidra.graph.viewer.event.mouse
Class VisualGraphPluggableGraphMouse<V extends VisualVertex,E extends VisualEdge<V>>
- java.lang.Object
-
- ghidra.graph.viewer.event.mouse.VisualGraphPluggableGraphMouse<V,E>
-
- Type Parameters:
V
- the vertex typeE
- the edge type
- All Implemented Interfaces:
edu.uci.ics.jung.visualization.VisualizationViewer.GraphMouse
,java.awt.event.MouseListener
,java.awt.event.MouseMotionListener
,java.awt.event.MouseWheelListener
,java.util.EventListener
- Direct Known Subclasses:
VisualGraphSatelliteGraphMouse
public class VisualGraphPluggableGraphMouse<V extends VisualVertex,E extends VisualEdge<V>> extends java.lang.Object implements edu.uci.ics.jung.visualization.VisualizationViewer.GraphMouse
This is the class that controls which mouse plugins get installed into the graph.
-
-
Field Summary
Fields Modifier and Type Field Description protected java.util.concurrent.CopyOnWriteArrayList<edu.uci.ics.jung.visualization.control.GraphMousePlugin>
mousePlugins
-
Constructor Summary
Constructors Constructor Description VisualGraphPluggableGraphMouse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(edu.uci.ics.jung.visualization.control.GraphMousePlugin p)
protected void
addPlugins()
void
dispose()
void
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)
void
mouseWheelMoved(java.awt.event.MouseWheelEvent e)
void
prepend(edu.uci.ics.jung.visualization.control.GraphMousePlugin p)
Places the given plugin at the front of the listvoid
remove(edu.uci.ics.jung.visualization.control.GraphMousePlugin p)
-
-
-
Method Detail
-
addPlugins
protected void addPlugins()
-
prepend
public void prepend(edu.uci.ics.jung.visualization.control.GraphMousePlugin p)
Places the given plugin at the front of the list- Parameters:
p
- the mouse plugin to prepend
-
add
public void add(edu.uci.ics.jung.visualization.control.GraphMousePlugin p)
-
remove
public void remove(edu.uci.ics.jung.visualization.control.GraphMousePlugin p)
-
dispose
public void dispose()
-
mouseClicked
public void mouseClicked(java.awt.event.MouseEvent e)
- Specified by:
mouseClicked
in interfacejava.awt.event.MouseListener
-
mousePressed
public void mousePressed(java.awt.event.MouseEvent e)
- Specified by:
mousePressed
in interfacejava.awt.event.MouseListener
-
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
-
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
-
mouseMoved
public void mouseMoved(java.awt.event.MouseEvent e)
- Specified by:
mouseMoved
in interfacejava.awt.event.MouseMotionListener
-
mouseWheelMoved
public void mouseWheelMoved(java.awt.event.MouseWheelEvent e)
- Specified by:
mouseWheelMoved
in interfacejava.awt.event.MouseWheelListener
-
-