edu.uci.ics.jung.visualization.control
Class SatelliteTranslatingGraphMousePlugin
java.lang.Object
edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
edu.uci.ics.jung.visualization.control.TranslatingGraphMousePlugin
edu.uci.ics.jung.visualization.control.SatelliteTranslatingGraphMousePlugin
- All Implemented Interfaces:
- GraphMousePlugin, MouseListener, MouseMotionListener, EventListener
public class SatelliteTranslatingGraphMousePlugin
- extends TranslatingGraphMousePlugin
Overrides TranslatingGraphMousePlugin so that mouse events in
the satellite view cause translating of the main view
- Author:
- Tom Nelson
- See Also:
TranslatingGraphMousePlugin
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SatelliteTranslatingGraphMousePlugin
public SatelliteTranslatingGraphMousePlugin()
SatelliteTranslatingGraphMousePlugin
public SatelliteTranslatingGraphMousePlugin(int modifiers)
mouseDragged
public void mouseDragged(MouseEvent e)
- chack the modifiers. If accepted, translate the main view according
to the dragging of the mouse pointer in the satellite view
- Specified by:
mouseDragged
in interface MouseMotionListener
- Overrides:
mouseDragged
in class TranslatingGraphMousePlugin
- Parameters:
e
- the event
Copyright © 2009. All Rights Reserved.