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, 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
-
-
Constructor Summary
Constructors Constructor and Description SatelliteTranslatingGraphMousePlugin()SatelliteTranslatingGraphMousePlugin(int modifiers)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and 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
-
-
-
-
Constructor Detail
-
SatelliteTranslatingGraphMousePlugin
public SatelliteTranslatingGraphMousePlugin()
-
SatelliteTranslatingGraphMousePlugin
public SatelliteTranslatingGraphMousePlugin(int modifiers)
-
-
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
-
-
DataMelt 3.0 © DataMelt by jWork.ORG