java.lang.Object
javax.swing.plaf.basic.BasicScrollPaneUI.MouseWheelHandler
- 所有已实现的接口:
-
MouseWheelListener,EventListener
- 封闭类:
-
BasicScrollPaneUI
MouseWheelHandler是一个内部类,实现了MouseWheelListener接口。MouseWheelHandler通过适当地滚动JScrollPane来响应MouseWheelEvents。如果滚动窗格的
isWheelScrollingEnabled方法返回false,则不会发生滚动。
- 自从:
- 1.4
- 参见:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid当鼠标滚轮在JScrollPane上方旋转时调用。
-
Constructor Details
-
MouseWheelHandler
protected MouseWheelHandler()构造一个MouseWheelHandler。
-
-
Method Details
-
mouseWheelMoved
当鼠标滚轮在JScrollPane上方旋转时调用。- 指定者:
-
mouseWheelMoved在接口MouseWheelListener中 - 参数:
-
e- 要处理的MouseWheelEvent - 自从:
- 1.4
- 参见:
-