javax.swing.plaf.basic
Class BasicScrollPaneUI.MouseWheelHandler

java.lang.Object
  extended by javax.swing.plaf.basic.BasicScrollPaneUI.MouseWheelHandler
All Implemented Interfaces:
MouseWheelListener, EventListener
Enclosing class:
BasicScrollPaneUI

protected class BasicScrollPaneUI.MouseWheelHandler
extends Object
implements MouseWheelListener

Listens for mouse wheel events and update the scrollpane accordingly.

Since:
1.4

Constructor Summary
protected BasicScrollPaneUI.MouseWheelHandler()
           
 
Method Summary
 void mouseWheelMoved(MouseWheelEvent e)
          Scroll with the mouse wheel.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicScrollPaneUI.MouseWheelHandler

protected BasicScrollPaneUI.MouseWheelHandler()
Method Detail

mouseWheelMoved

public void mouseWheelMoved(MouseWheelEvent e)
Scroll with the mouse wheel.

Specified by:
mouseWheelMoved in interface MouseWheelListener
Parameters:
e - the MouseWheelEvent indicating the rotation