Class SatelliteScalingGraphMousePlugin
- java.lang.Object
-
- edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
-
- edu.uci.ics.jung.visualization.control.ScalingGraphMousePlugin
-
- edu.uci.ics.jung.visualization.control.SatelliteScalingGraphMousePlugin
-
- All Implemented Interfaces:
GraphMousePlugin
,java.awt.event.MouseWheelListener
,java.util.EventListener
public class SatelliteScalingGraphMousePlugin extends ScalingGraphMousePlugin
Overrides ScalingGraphMousePlugin so that mouse events in the satellite view will cause scaling in the main view- See Also:
ScalingGraphMousePlugin
-
-
Field Summary
-
Fields inherited from class edu.uci.ics.jung.visualization.control.ScalingGraphMousePlugin
in, out, scaler, zoomAtMouse
-
Fields inherited from class edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
cursor, down, modifiers
-
-
Constructor Summary
Constructors Constructor Description SatelliteScalingGraphMousePlugin(ScalingControl scaler, int modifiers)
SatelliteScalingGraphMousePlugin(ScalingControl scaler, int modifiers, float in, float out)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
mouseWheelMoved(java.awt.event.MouseWheelEvent e)
zoom the master view display in or out, depending on the direction of the mouse wheel motion.-
Methods inherited from class edu.uci.ics.jung.visualization.control.ScalingGraphMousePlugin
checkModifiers, getIn, getOut, getScaler, setIn, setOut, setScaler, setZoomAtMouse
-
Methods inherited from class edu.uci.ics.jung.visualization.control.AbstractGraphMousePlugin
getCursor, getModifiers, setCursor, setModifiers
-
-
-
-
Constructor Detail
-
SatelliteScalingGraphMousePlugin
public SatelliteScalingGraphMousePlugin(ScalingControl scaler, int modifiers)
-
SatelliteScalingGraphMousePlugin
public SatelliteScalingGraphMousePlugin(ScalingControl scaler, int modifiers, float in, float out)
-
-
Method Detail
-
mouseWheelMoved
public void mouseWheelMoved(java.awt.event.MouseWheelEvent e)
zoom the master view display in or out, depending on the direction of the mouse wheel motion.- Specified by:
mouseWheelMoved
in interfacejava.awt.event.MouseWheelListener
- Overrides:
mouseWheelMoved
in classScalingGraphMousePlugin
-
-