Canvas.h 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_awt_Canvas__
  3. #define __java_awt_Canvas__
  4. #pragma interface
  5. #include <java/awt/Component.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class BufferCapabilities;
  13. class Canvas;
  14. class Graphics;
  15. class GraphicsConfiguration;
  16. namespace image
  17. {
  18. class BufferStrategy;
  19. }
  20. }
  21. }
  22. namespace javax
  23. {
  24. namespace accessibility
  25. {
  26. class AccessibleContext;
  27. }
  28. }
  29. }
  30. class java::awt::Canvas : public ::java::awt::Component
  31. {
  32. public:
  33. Canvas();
  34. Canvas(::java::awt::GraphicsConfiguration *);
  35. virtual void addNotify();
  36. virtual void paint(::java::awt::Graphics *);
  37. virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
  38. virtual void createBufferStrategy(jint);
  39. virtual void createBufferStrategy(jint, ::java::awt::BufferCapabilities *);
  40. virtual ::java::awt::image::BufferStrategy * getBufferStrategy();
  41. virtual void update(::java::awt::Graphics *);
  42. public: // actually package-private
  43. virtual ::java::lang::String * generateName();
  44. private:
  45. static jlong getUniqueLong();
  46. static const jlong serialVersionUID = -2284879212465893870LL;
  47. static jlong next_canvas_number;
  48. public: // actually package-private
  49. ::java::awt::image::BufferStrategy * __attribute__((aligned(__alignof__( ::java::awt::Component)))) bufferStrategy;
  50. public:
  51. static ::java::lang::Class class$;
  52. };
  53. #endif // __java_awt_Canvas__