Class SatelliteRotatingGraphMousePlugin
- java.lang.Object
-
- edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
-
- edu.uci.ics.jung.visualization.control.RotatingGraphMousePlugin
-
- edu.uci.ics.jung.visualization.control.SatelliteRotatingGraphMousePlugin
-
- All Implemented Interfaces:
GraphMousePlugin
,java.awt.event.MouseListener
,java.awt.event.MouseMotionListener
,java.util.EventListener
public class SatelliteRotatingGraphMousePlugin extends RotatingGraphMousePlugin
Mouse events in the SatelliteView that match the modifiers will cause the Main view to rotate- Author:
- Tom Nelson
- See Also:
RotatingGraphMousePlugin
-
-
Field Summary
-
Fields inherited from class edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
cursor, down, modifiers
-
-
Constructor Summary
Constructors Constructor Description SatelliteRotatingGraphMousePlugin()
SatelliteRotatingGraphMousePlugin(int modifiers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mouseDragged(java.awt.event.MouseEvent e)
check the modifiers.-
Methods inherited from class edu.uci.ics.jung.visualization.control.RotatingGraphMousePlugin
angleBetween, mouseClicked, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased
-
Methods inherited from class edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
checkModifiers, getCursor, getModifiers, setCursor, setModifiers
-
-
-
-
Method Detail
-
mouseDragged
public void mouseDragged(java.awt.event.MouseEvent e)
check the modifiers. If accepted, use the mouse drag motion to rotate the graph in the master view- Specified by:
mouseDragged
in interfacejava.awt.event.MouseMotionListener
- Overrides:
mouseDragged
in classRotatingGraphMousePlugin
-
-