summaryrefslogtreecommitdiff
path: root/libjava/java/awt/Canvas.h
blob: d7e031018fd7eec97d71e366942e81bd28cb8e46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_awt_Canvas__
#define __java_awt_Canvas__

#pragma interface

#include <java/awt/Component.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class BufferCapabilities;
        class Canvas;
        class Graphics;
        class GraphicsConfiguration;
      namespace image
      {
          class BufferStrategy;
      }
    }
  }
  namespace javax
  {
    namespace accessibility
    {
        class AccessibleContext;
    }
  }
}

class java::awt::Canvas : public ::java::awt::Component
{

public:
  Canvas();
  Canvas(::java::awt::GraphicsConfiguration *);
  virtual void addNotify();
  virtual void paint(::java::awt::Graphics *);
  virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
  virtual void createBufferStrategy(jint);
  virtual void createBufferStrategy(jint, ::java::awt::BufferCapabilities *);
  virtual ::java::awt::image::BufferStrategy * getBufferStrategy();
  virtual void update(::java::awt::Graphics *);
public: // actually package-private
  virtual ::java::lang::String * generateName();
private:
  static jlong getUniqueLong();
  static const jlong serialVersionUID = -2284879212465893870LL;
  static jlong next_canvas_number;
public: // actually package-private
  ::java::awt::image::BufferStrategy * __attribute__((aligned(__alignof__( ::java::awt::Component)))) bufferStrategy;
public:
  static ::java::lang::Class class$;
};

#endif // __java_awt_Canvas__