AdjustmentEvent.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_EVENT_ADJUSTMENTEVENT_H
00002 #define JAVA_AWT_EVENT_ADJUSTMENTEVENT_H 1
00003 
00004 #ifndef JAVA_AWT_AWTEVENT_H
00005 #include <java_awt/AWTEvent.h>
00006 #endif /* JAVA_AWT_AWTEVENT_H */
00007 #ifndef JAVA_AWT_ADJUSTABLE_H
00008 #include <java_awt/Adjustable.h>
00009 #endif /* JAVA_AWT_ADJUSTABLE_H */
00010 #ifndef JAVA_AWT_SPEC
00011 #include <java_awt/Spec.h>
00012 #endif /* JAVA_AWT_SPEC */
00013 
00014 namespace java {
00015   namespace awt {
00016     namespace event {
00017 
00027       class JAVA_AWT_SPEC AdjustmentEvent : public AWTEvent {
00028 
00029       public:
00030 
00031         enum ADJUSTMENT_EVENT_ID {
00032 
00036           ADJUSTMENT_FIRST = 601,
00037 
00041           ADJUSTMENT_VALUE_CHANGED = ADJUSTMENT_FIRST,
00042 
00046           ADJUSTMENT_LAST = ADJUSTMENT_VALUE_CHANGED,
00047 
00048         };
00049 
00050         enum ADJUSTMENT_TYPE {
00051           
00055           TRACK = 0,
00056 
00060           UNIT_INCREMENT,
00061 
00065           UNIT_DECREMENT,
00066 
00070           BLOCK_INCREMENT,
00071 
00075           BLOCK_DECREMENT,
00076 
00077         };
00078 
00079         AdjustmentEvent
00080           (const Ref<Adjustable>& source = 0, 
00081            jint id = ADJUSTMENT_VALUE_CHANGED,
00082            jint type = 0, jint value = 0, 
00083            jboolean isAdjusting = false);
00084 
00091         virtual String paramString() const;
00092 
00093       protected:
00094 
00101         Ref<Adjustable> adjustable;
00102 
00113         jint adjustmentType;
00114 
00123         jint value;
00124 
00133         jboolean isAdjusting;
00134 
00135       private:
00136 
00137         REGISTER_MEMBERS;
00138 
00139       };
00140 
00141     } // namespace event
00142   } // namespace awt
00143 } // namespace java
00144 
00145 #endif /* JAVA_AWT_EVENT_ADJUSTMENTEVENT_H */

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