ActionEvent.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_EVENT_ACTIONEVENT_H
00002 #define JAVA_AWT_EVENT_ACTIONEVENT_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_SPEC
00008 #include <java_awt/Spec.h>
00009 #endif /* JAVA_AWT_SPEC */
00010 
00011 namespace java {
00012   namespace awt {
00013     namespace event {
00014 
00037       class JAVA_AWT_SPEC ActionEvent : public AWTEvent {
00038 
00039       public:
00040 
00041         enum ACTION_EVENT_ID {
00042 
00046           ACTION_FIRST = 1001,
00047 
00051           ACTION_PERFORMED = ACTION_FIRST,
00052 
00056           ACTION_LAST = ACTION_PERFORMED,
00057 
00058         };
00059 
00076         ActionEvent
00077           (const ObjectRef& source = 0, jint id = ACTION_PERFORMED, 
00078            const String& command = nilString, 
00079            jlong when = 0, jint modifiers = 0);
00080 
00091         virtual String getActionCommand() const;
00092 
00098         virtual jint getModifiers() const;
00099 
00106         virtual String paramString() const;
00107 
00108       protected:
00109 
00118         String actionCommand;
00119 
00129         jint modifiers;
00130 
00131       private:
00132 
00133         REGISTER_MEMBERS;
00134 
00135       };
00136 
00137     } // namespace event
00138   } // namespace awt
00139 } // namespace java
00140 
00141 #endif /* JAVA_AWT_EVENT_ACTIONEVENT_H */

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