Package hec.map

Class MapPanel.MouseWheelHandler

java.lang.Object
hec.map.MapPanel.MouseWheelHandler
All Implemented Interfaces:
MouseWheelListener, EventListener
Enclosing class:
MapPanel

protected class MapPanel.MouseWheelHandler extends Object implements MouseWheelListener
MouseWheelHandler is an inner class which implements the MouseWheelListener interface. MouseWheelHandler responds to MouseWheelEvents by scrolling the MapPanel appropriately.

See Also:
  • Constructor Details

    • MouseWheelHandler

      protected MouseWheelHandler()
  • Method Details

    • mouseWheelMoved

      public void mouseWheelMoved(MouseWheelEvent e)
      Called when the mouse wheel is rotated while over the MapPanel.

      Specified by:
      mouseWheelMoved in interface MouseWheelListener
      Parameters:
      e - MouseWheelEvent to be handled