jdk/src/share/classes/java/awt/event/MouseWheelEvent.java
changeset 12813 c10ab96dcf41
parent 5506 202f599c92aa
child 16734 da1901d79073
equal deleted inserted replaced
12491:b3a91113026c 12813:c10ab96dcf41
    25 
    25 
    26 package java.awt.event;
    26 package java.awt.event;
    27 
    27 
    28 import java.awt.Component;
    28 import java.awt.Component;
    29 
    29 
       
    30 import javax.tools.annotation.GenerateNativeHeader;
       
    31 
    30 /**
    32 /**
    31  * An event which indicates that the mouse wheel was rotated in a component.
    33  * An event which indicates that the mouse wheel was rotated in a component.
    32  * <P>
    34  * <P>
    33  * A wheel mouse is a mouse which has a wheel in place of the middle button.
    35  * A wheel mouse is a mouse which has a wheel in place of the middle button.
    34  * This wheel can be rotated towards or away from the user.  Mouse wheels are
    36  * This wheel can be rotated towards or away from the user.  Mouse wheels are
    95  * @see javax.swing.JScrollPane
    97  * @see javax.swing.JScrollPane
    96  * @see javax.swing.JScrollPane#setWheelScrollingEnabled(boolean)
    98  * @see javax.swing.JScrollPane#setWheelScrollingEnabled(boolean)
    97  * @since 1.4
    99  * @since 1.4
    98  */
   100  */
    99 
   101 
       
   102 /* No native methods here, but the constants are needed in the supporting JNI code */
       
   103 @GenerateNativeHeader
   100 public class MouseWheelEvent extends MouseEvent {
   104 public class MouseWheelEvent extends MouseEvent {
   101 
   105 
   102     /**
   106     /**
   103      * Constant representing scrolling by "units" (like scrolling with the
   107      * Constant representing scrolling by "units" (like scrolling with the
   104      * arrow keys)
   108      * arrow keys)