ComponentEvent.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_EVENT_COMPONENTEVENT_H
00002 #define JAVA_AWT_EVENT_COMPONENTEVENT_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 
00014     class Component;
00015 
00016     namespace event {
00017 
00051       class JAVA_AWT_SPEC ComponentEvent : public java::awt::AWTEvent {
00052 
00053       public:
00054 
00055         enum COMPONENT_EVENT_ID {
00056 
00060           COMPONENT_FIRST = 100,
00061 
00065           COMPONENT_MOVED = COMPONENT_FIRST,
00066 
00070           COMPONENT_RESIZED,
00071 
00075           COMPONENT_SHOWN,
00076 
00080           COMPONENT_HIDDEN,
00081 
00085           COMPONENT_LAST = COMPONENT_HIDDEN,
00086 
00087         };
00088 
00097         ComponentEvent(const Ref<Component>& source = 0, jint id = COMPONENT_FIRST, jlong when = 0);
00098 
00106         virtual Ref<Component> getComponent() const;
00107 
00114         virtual String paramString() const;
00115 
00116       protected:
00117 
00118       private:
00119 
00120         REGISTER_MEMBERS;
00121 
00122       };
00123 
00124     } // namespace event
00125   } // namespace awt
00126 } // namespace java
00127 
00128 #endif /* JAVA_AWT_EVENT_COMPONENTEVENT_H */

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