Class 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
    Author:
    Tom Nelson
    See Also:
    ScalingGraphMousePlugin
    • 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 interface java.awt.event.MouseWheelListener
        Overrides:
        mouseWheelMoved in class ScalingGraphMousePlugin