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, MouseWheelListener, EventListener
Overrides ScalingGraphMousePlugin so that mouse events in the
satellite view will cause scaling in the main view
- See Also:
-
Field Summary
Fields inherited from class ScalingGraphMousePlugin
in, out, scaler, zoomAtMouseFields inherited from class AbstractGraphMousePlugin
cursor, down, modifiers -
Constructor Summary
ConstructorsConstructorDescriptionSatelliteScalingGraphMousePlugin(ScalingControl scaler, int modifiers) SatelliteScalingGraphMousePlugin(ScalingControl scaler, int modifiers, float in, float out) -
Method Summary
Modifier and TypeMethodDescriptionvoidzoom the master view display in or out, depending on the direction of the mouse wheel motion.Methods inherited from class ScalingGraphMousePlugin
checkModifiers, getIn, getOut, getScaler, setIn, setOut, setScaler, setZoomAtMouseMethods inherited from class AbstractGraphMousePlugin
getCursor, getModifiers, setCursor, setModifiers
-
Constructor Details
-
SatelliteScalingGraphMousePlugin
-
SatelliteScalingGraphMousePlugin
-
-
Method Details
-
mouseWheelMoved
zoom the master view display in or out, depending on the direction of the mouse wheel motion.- Specified by:
mouseWheelMovedin interfaceMouseWheelListener- Overrides:
mouseWheelMovedin classScalingGraphMousePlugin
-