<h2>org.das2.event.ZoomPanMouseModule</h2><p>Provide navigation similar to Google Maps, where drag events result a pan on the axes, and mouse wheel events are zoom in and zoom out. This is typically attached to the middle mouse button.</p> <h2>ZoomPanMouseModule( <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/graph/DasCanvasComponent.html'>org.das2.graph.DasCanvasComponent</a> parent, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/graph/DasAxis.html'>org.das2.graph.DasAxis</a> horizontalAxis, <a href='http://www-pw.physics.uiowa.edu/~jbf/autoplot/doc/org/das2/graph/DasAxis.html'>org.das2.graph.DasAxis</a> verticalAxis )</h2> <p>Creates a new instance of ZoomPanMouseModule</p> <hr> <a name="mouseDragged"></a> <h2>mouseDragged</h2> mouseDragged( <a href='https://docs.oracle.com/javase/8/docs/api/java/awt/event/MouseEvent.html'>java.awt.event.MouseEvent</a> e ) → void <p></p> <h3>Parameters</h3> e - a MouseEvent <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=mouseDragged&unscoped_q=mouseDragged">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/event/ZoomPanMouseModule.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/event/ZoomPanMouseModule.html#mouseDragged">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/event/ZoomPanMouseModule.java">[view source]</a> <br> <br> <hr> <a name="mousePressed"></a> <h2>mousePressed</h2> mousePressed( <a href='https://docs.oracle.com/javase/8/docs/api/java/awt/event/MouseEvent.html'>java.awt.event.MouseEvent</a> e ) → void <p></p> <h3>Parameters</h3> e - a MouseEvent <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=mousePressed&unscoped_q=mousePressed">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/event/ZoomPanMouseModule.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/event/ZoomPanMouseModule.html#mousePressed">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/event/ZoomPanMouseModule.java">[view source]</a> <br> <br> <hr> <a name="mouseReleased"></a> <h2>mouseReleased</h2> mouseReleased( <a href='https://docs.oracle.com/javase/8/docs/api/java/awt/event/MouseEvent.html'>java.awt.event.MouseEvent</a> e ) → void <p></p> <h3>Parameters</h3> e - a MouseEvent <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=mouseReleased&unscoped_q=mouseReleased">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/event/ZoomPanMouseModule.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/event/ZoomPanMouseModule.html#mouseReleased">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/event/ZoomPanMouseModule.java">[view source]</a> <br> <br> <hr> <a name="mouseWheelMoved"></a> <h2>mouseWheelMoved</h2> mouseWheelMoved( <a href='https://docs.oracle.com/javase/8/docs/api/java/awt/event/MouseWheelEvent.html'>java.awt.event.MouseWheelEvent</a> e ) → void <p>mouse wheel events zoom or pan rapidly. With a physical wheel, I (jbf) found that I get 17ms per click, and this is managable. With a touchpad on a mac, these events come much faster, like 10ms per click, which can disorient the operator. So we limit the speed to 20ms per click, for now by dropping rapid clicks.</p> <h3>Parameters</h3> e - a MouseWheelEvent <h3>Returns:</h3> void (returns nothing) <br><br> <a href="https://github.com/autoplot/dev/search?q=mouseWheelMoved&unscoped_q=mouseWheelMoved">[search for examples]</a> <a href="https://github.com/autoplot/documentation/tree/master/javadoc/org/das2/event/ZoomPanMouseModule.md">[view on GitHub]</a> <a href="http://www-pw.physics.uiowa.edu/~jbf/autoplot/javadoc2018/org/das2/event/ZoomPanMouseModule.html#mouseWheelMoved">[view on old javadoc]</a> <a href="https://saturn.physics.uiowa.edu/svn/das2/dasCore/community/autoplot2011/trunk/dasCore/src/org/das2/event/ZoomPanMouseModule.java">[view source]</a> <br> <br>