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
- Author:
- Tom Nelson
- See Also:
-
Field Summary
Fields inherited from class edu.uci.ics.jung.visualization.control.ScalingGraphMousePlugin
in, out, scaler, zoomAtMouseFields inherited from class edu.uci.ics.jung.visualization.control.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 edu.uci.ics.jung.visualization.control.ScalingGraphMousePlugin
checkModifiers, getIn, getOut, getScaler, setIn, setOut, setScaler, setZoomAtMouseMethods inherited from class edu.uci.ics.jung.visualization.control.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
-