Showing posts with label getWheelRotation(). Show all posts
Showing posts with label getWheelRotation(). Show all posts

Monday, 24 February 2014

EVENT CLASSES:MouseWheelEvent class

The MouseWheelEvent class encapsulates a mouse wheel event.........

The MouseWheelEvent Class:

        
The MouseWheelEvent class encapsulates a mouse wheel event. It is a subclass of MouseEvent. Not all mice have wheels. If a mouse has a wheel, it is located between the left and right buttons. Mouse wheels are used for  scrolling.

MouseWheelEvent :- integer constants:

  • WHEEL_BLOCK_SCROLL :      A page-up or page-down scroll event occurred.
  • WHEEL_UNIT_SCROLL      :          A line-up or line-down scroll event occurred.