Package mars.venus.editor.jeditsyntax
Class JEditTextArea.MouseWheelHandler
java.lang.Object
mars.venus.editor.jeditsyntax.JEditTextArea.MouseWheelHandler
- All Implemented Interfaces:
MouseWheelListener
,EventListener
- Enclosing class:
- JEditTextArea
Allows use of mouse wheel to scroll.
Scrolling as fast as I could, the most notches I could get in
one MouseWheelEvent was 3. Normally it will be 1. Nonetheless,
this will scroll up to the number in the event, subject to
scrollability of the text in its viewport.
- Author:
- DPS, 5-5-2010
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
MouseWheelHandler
protected MouseWheelHandler()
-
-
Method Details
-
mouseWheelMoved
- Specified by:
mouseWheelMoved
in interfaceMouseWheelListener
-