MouseWheelEvent.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_EVENT_MOUSEWHEELEVENT_H
00002 #define JAVA_AWT_EVENT_MOUSEWHEELEVENT_H 1
00003 
00004 #ifndef JAVA_AWT_EVENT_MOUSEEVENT_H
00005 #include <java_awt_event/MouseEvent.h>
00006 #endif /* JAVA_AWT_EVENT_MOUSEEVENT_H */
00007 #ifndef JAVA_AWT_SPEC
00008 #include <java_awt/Spec.h>
00009 #endif /* JAVA_AWT_SPEC */
00010 
00011 namespace java {
00012   namespace awt {
00013     namespace event {
00014 
00072       class JAVA_AWT_SPEC MouseWheelEvent : public MouseEvent {
00073 
00074       public:
00075 
00076         enum MOUSE_WHEEL_SCROLL_TYPE {
00077 
00084           WHEEL_UNIT_SCROLL = 0,
00085 
00092           WHEEL_BLOCK_SCROLL,
00093 
00094         };
00095 
00096         MouseWheelEvent();
00097 
00127         MouseWheelEvent
00128           (const Ref<Component>& source, jint id, jlong when, 
00129            jint modifiers, jint x, jint y, jint clickCount, jboolean popupTrigger, 
00130            jint scrollType, jint scrollAmount, jint wheelRotation);
00131 
00148         virtual jint getScrollType() const;
00149 
00160         virtual jint getScrollAmount() const;
00161 
00169         virtual jint getWheelRotation() const;
00170 
00218         virtual jint getUnitsToScroll() const;
00219 
00226         virtual String paramString() const;
00227 
00228       protected:
00229 
00240         jint scrollType;
00241 
00250         jint scrollAmount;
00251 
00257         jint wheelRotation;
00258 
00259       private:
00260 
00261         REGISTER_MEMBERS;
00262 
00263       };
00264 
00265     } // namespace event
00266   } // namespace awt
00267 } // namespace java
00268 
00269 #endif /* JAVA_AWT_EVENT_MOUSEWHEELEVENT_H */

Generated on Fri May 16 11:54:43 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3