ImageObserver.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_IMAGE_IMAGEOBSERVER_H
00002 #define JAVA_AWT_IMAGE_IMAGEOBSERVER_H 1
00003 
00004 #ifndef JAVA_LANG_OBJECT_H
00005 #include <java_lang/Object.h>
00006 #endif /* JAVA_LANG_OBJECT_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 Image;
00015 
00016     namespace image {
00017 
00025       class JAVA_AWT_SPEC ImageObserver : virtual public Interface {
00026 
00027       public:
00028 
00029         enum INFO_FLAGS {
00030 
00038           FLAG_WIDTH = 1,
00039 
00047           FLAG_HEIGHT = 2,
00048 
00055           FLAG_PROPERTIES = 4,
00056 
00066           FLAG_SOMEBITS = 8,
00067 
00076           FLAG_FRAMEBITS = 16,
00077 
00086           FLAG_ALLBITS = 32,
00087 
00097           FLAG_ERROR = 64,
00098 
00109           FLAG_ABORT = 128,
00110 
00111         };
00112 
00164         virtual jboolean imageUpdate
00165           (const Ref<Image>& img, jint infoflags,
00166            jint x, jint y, jint width, jint height) = 0;
00167 
00168       private:
00169 
00170         REGISTER_MEMBERS;
00171 
00172       };
00173 
00174     } // namespace image
00175   } // namespace awt
00176 } // namespace java
00177 
00178 #endif /* JAVA_AWT_IMAGE_IMAGEOBSERVER_H */

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