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 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
ConstructorsConstructorDescriptionSatelliteScalingGraphMousePlugin
(ScalingControl scaler, int modifiers) SatelliteScalingGraphMousePlugin
(ScalingControl scaler, int modifiers, float in, float out) -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 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:
mouseWheelMoved
in interfaceMouseWheelListener
- Overrides:
mouseWheelMoved
in classScalingGraphMousePlugin
-