javax.swing.plaf.basic
Class BasicScrollPaneUI.MouseWheelHandler
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicScrollPaneUI.MouseWheelHandler
protected BasicScrollPaneUI.MouseWheelHandler()
mouseWheelMoved
public void mouseWheelMoved(MouseWheelEvent e)
- Scroll with the mouse wheel.
- Specified by:
mouseWheelMoved
in interface MouseWheelListener
- Parameters:
e
- the MouseWheelEvent
indicating the rotation