com.birosoft.liquid
Class LiquidScrollPaneUI.MouseWheelHandler

java.lang.Object
  extended by com.birosoft.liquid.LiquidScrollPaneUI.MouseWheelHandler
All Implemented Interfaces:
java.awt.event.MouseWheelListener, java.util.EventListener
Enclosing class:
LiquidScrollPaneUI

protected class LiquidScrollPaneUI.MouseWheelHandler
extends java.lang.Object
implements java.awt.event.MouseWheelListener

MouseWheelHandler is an inner class which implements the MouseWheelListener interface. MouseWheelHandler responds to MouseWheelEvents by scrolling the JScrollPane appropriately. If the scroll pane's isWheelScrollingEnabled method returns false, no scrolling occurs.

Since:
1.4
See Also:
JScrollPane.isWheelScrollingEnabled(), LiquidScrollPaneUI.createMouseWheelListener(), MouseWheelListener, MouseWheelEvent

Constructor Summary
protected LiquidScrollPaneUI.MouseWheelHandler()
           
 
Method Summary
 void mouseWheelMoved(java.awt.event.MouseWheelEvent e)
          Called when the mouse wheel is rotated while over a JScrollPane.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LiquidScrollPaneUI.MouseWheelHandler

protected LiquidScrollPaneUI.MouseWheelHandler()
Method Detail

mouseWheelMoved

public void mouseWheelMoved(java.awt.event.MouseWheelEvent e)
Called when the mouse wheel is rotated while over a JScrollPane.

Specified by:
mouseWheelMoved in interface java.awt.event.MouseWheelListener
Parameters:
e - MouseWheelEvent to be handled
Since:
1.4