Class SatelliteRotatingGraphMousePlugin
- java.lang.Object
-
- org.jungrapht.visualization.control.AbstractGraphMousePlugin
-
- org.jungrapht.visualization.control.RotatingGraphMousePlugin
-
- org.jungrapht.visualization.control.SatelliteRotatingGraphMousePlugin
-
- All Implemented Interfaces:
MouseListener
,MouseMotionListener
,EventListener
,GraphMousePlugin
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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.jungrapht.visualization.control.AbstractGraphMousePlugin
AbstractGraphMousePlugin.Selecting
-
-
Field Summary
-
Fields inherited from class org.jungrapht.visualization.control.RotatingGraphMousePlugin
rotatingMask
-
Fields inherited from class org.jungrapht.visualization.control.AbstractGraphMousePlugin
cursor, down, modifiers
-
-
Constructor Summary
Constructors Constructor Description SatelliteRotatingGraphMousePlugin()
SatelliteRotatingGraphMousePlugin(int rotatingMask)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mouseDragged(MouseEvent e)
check the modifiers.-
Methods inherited from class org.jungrapht.visualization.control.RotatingGraphMousePlugin
angleBetween, mouseClicked, mouseEntered, mouseExited, mouseMoved, mousePressed, mouseReleased
-
Methods inherited from class org.jungrapht.visualization.control.AbstractGraphMousePlugin
checkModifiers, getCursor, getModifiersEx, setCursor, setModifiers
-
-
-
-
Method Detail
-
mouseDragged
public void mouseDragged(MouseEvent e)
check the modifiers. If accepted, use the mouse drag motion to rotate the graph in the master view- Specified by:
mouseDragged
in interfaceMouseMotionListener
- Overrides:
mouseDragged
in classRotatingGraphMousePlugin
-
-