Package codedraw
Class MouseWheelEvent
java.lang.Object
codedraw.Event
codedraw.MouseWheelEvent
This argument is given each time the mouse wheel is turned.
-
Method Summary
Methods inherited from class codedraw.Event
getTimeCreated
-
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.
-
toString
-