2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_awt_Canvas__
5 #define __java_awt_Canvas__
9 #include <java/awt/Component.h>
16 class BufferCapabilities
;
19 class GraphicsConfiguration
;
28 namespace accessibility
30 class AccessibleContext
;
35 class java::awt::Canvas
: public ::java::awt::Component
40 Canvas(::java::awt::GraphicsConfiguration
*);
41 virtual void addNotify();
42 virtual void paint(::java::awt::Graphics
*);
43 virtual ::javax::accessibility::AccessibleContext
* getAccessibleContext();
44 virtual void createBufferStrategy(jint
);
45 virtual void createBufferStrategy(jint
, ::java::awt::BufferCapabilities
*);
46 virtual ::java::awt::image::BufferStrategy
* getBufferStrategy();
47 virtual void update(::java::awt::Graphics
*);
48 public: // actually package-private
49 virtual ::java::lang::String
* generateName();
51 static jlong
getUniqueLong();
52 static const jlong serialVersionUID
= -2284879212465893870LL;
53 static jlong next_canvas_number
;
54 public: // actually package-private
55 ::java::awt::image::BufferStrategy
* __attribute__((aligned(__alignof__( ::java::awt::Component
)))) bufferStrategy
;
57 static ::java::lang::Class
class$
;
60 #endif // __java_awt_Canvas__