PaintEvent.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_EVENT_PAINTEVENT_H
00002 #define JAVA_AWT_EVENT_PAINTEVENT_H 1
00003 
00004 #ifndef JAVA_AWT_EVENT_COMPONENTEVENT_H
00005 #include <java_awt_event/ComponentEvent.h>
00006 #endif /* JAVA_AWT_EVENT_COMPONENTEVENT_H */
00007 #ifndef JAVA_AWT_GRAPHICS_H
00008 #include <java_awt/Graphics.h>
00009 #endif /* JAVA_AWT_GRAPHICS_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 
00031       class JAVA_AWT_SPEC PaintEvent : public ComponentEvent {
00032 
00033       public:
00034 
00035         enum PAINT_EVENT_ID {
00036 
00040           PAINT_FIRST = 800,
00041 
00045           PAINT = PAINT_FIRST,
00046 
00050           UPDATE,
00051 
00055           PAINT_LAST = UPDATE,
00056 
00057         };
00058 
00069         PaintEvent(const Ref<Component>& source = 0, jint id = PAINT, const Ref<Graphics>& graphics = 0);
00070 
00075         virtual Ref<Graphics> getGraphics();
00076 
00083         virtual String paramString() const;
00084 
00085       protected:
00086 
00092         Ref<Graphics> graphics;
00093 
00094       private:
00095 
00096         REGISTER_MEMBERS;
00097 
00098       };
00099 
00100     } // namespace event
00101   } // namespace awt
00102 } // namespace java
00103 
00104 #endif /* JAVA_AWT_EVENT_CONTAINEREVENT_H */

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