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,java.awt.event.MouseListener,java.awt.event.MouseMotionListener,java.util.EventListener
public class SatelliteTranslatingGraphMousePlugin extends TranslatingGraphMousePlugin
Overrides TranslatingGraphMousePlugin so that mouse events in the satellite view cause translating of the main view- See Also:
TranslatingGraphMousePlugin
-
-
Field Summary
-
Fields inherited from class edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
cursor, down, modifiers
-
-
Constructor Summary
Constructors Constructor Description SatelliteTranslatingGraphMousePlugin()SatelliteTranslatingGraphMousePlugin(int modifiers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidmouseDragged(java.awt.event.MouseEvent e)Check the modifiers.-
Methods inherited from class edu.uci.ics.jung.visualization.control.TranslatingGraphMousePlugin
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, translate the main view according to the dragging of the mouse pointer in the satellite view- Specified by:
mouseDraggedin interfacejava.awt.event.MouseMotionListener- Overrides:
mouseDraggedin classTranslatingGraphMousePlugin- Parameters:
e- the event
-
-