Package codedraw.events
Class MouseWheelEventArgs
java.lang.Object
codedraw.events.MouseWheelEventArgs
This argument is given each time the mouse wheel is turned.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Returns the amount of wheel rotation.
-
Constructor Details
-
MouseWheelEventArgs
-
-
Method Details
-
getWheelRotation
public double getWheelRotation()Returns the amount of wheel rotation. One rotation is one click on the mouse. For high resolution scrolling there are fractional rotations. Positive values are returned for scrolling towards the user, negative values when scrolling away from the user.- Returns:
- the wheel rotation.
-