compilation errors fixed
[official-gcc.git] / libjava / java / awt / Canvas.h
blobd7e031018fd7eec97d71e366942e81bd28cb8e46
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_awt_Canvas__
5 #define __java_awt_Canvas__
7 #pragma interface
9 #include <java/awt/Component.h>
10 extern "Java"
12 namespace java
14 namespace awt
16 class BufferCapabilities;
17 class Canvas;
18 class Graphics;
19 class GraphicsConfiguration;
20 namespace image
22 class BufferStrategy;
26 namespace javax
28 namespace accessibility
30 class AccessibleContext;
35 class java::awt::Canvas : public ::java::awt::Component
38 public:
39 Canvas();
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();
50 private:
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;
56 public:
57 static ::java::lang::Class class$;
60 #endif // __java_awt_Canvas__