Package ptolemy.plot

Class PlotBox.ZoomListener2

  • All Implemented Interfaces:
    java.awt.event.MouseWheelListener, java.util.EventListener
    Enclosing class:
    PlotBox

    public class PlotBox.ZoomListener2
    extends java.lang.Object
    implements java.awt.event.MouseWheelListener
    Zoom with the mouse wheel.
    • Constructor Summary

      Constructors 
      Constructor Description
      ZoomListener2()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void mouseWheelMoved​(java.awt.event.MouseWheelEvent e)
      If the mouse wheel is moved, then zoom accordingly.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ZoomListener2

        public ZoomListener2()
    • Method Detail

      • mouseWheelMoved

        public void mouseWheelMoved​(java.awt.event.MouseWheelEvent e)
        If the mouse wheel is moved, then zoom accordingly.
        Specified by:
        mouseWheelMoved in interface java.awt.event.MouseWheelListener
        Parameters:
        e - The mouse wheel event.