Class MouseWheelEventArgs

java.lang.Object
codedraw.events.MouseWheelEventArgs

public class MouseWheelEventArgs extends Object
This argument is given each time the mouse wheel is turned.
  • Constructor Details

  • 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.