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
,MouseListener
,MouseMotionListener
,EventListener
Mouse events in the SatelliteView that match the modifiers
will cause the Main view to rotate
- See Also:
-
Field Summary
Fields inherited from class edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
cursor, down, modifiers
-
Constructor Summary
Constructors -
Method Summary
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
-
Constructor Details
-
SatelliteRotatingGraphMousePlugin
public SatelliteRotatingGraphMousePlugin() -
SatelliteRotatingGraphMousePlugin
public SatelliteRotatingGraphMousePlugin(int modifiers)
-
-
Method Details
-
mouseDragged
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
-