CanvasPeer.h 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_awt_peer_CanvasPeer__
  3. #define __java_awt_peer_CanvasPeer__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class AWTEvent;
  13. class BufferCapabilities;
  14. class BufferCapabilities$FlipContents;
  15. class Color;
  16. class Component;
  17. class Cursor;
  18. class Dimension;
  19. class Font;
  20. class FontMetrics;
  21. class Graphics;
  22. class GraphicsConfiguration;
  23. class Image;
  24. class Point;
  25. class Rectangle;
  26. class Toolkit;
  27. namespace event
  28. {
  29. class PaintEvent;
  30. }
  31. namespace image
  32. {
  33. class ColorModel;
  34. class ImageObserver;
  35. class ImageProducer;
  36. class VolatileImage;
  37. }
  38. namespace peer
  39. {
  40. class CanvasPeer;
  41. class ContainerPeer;
  42. }
  43. }
  44. }
  45. namespace sun
  46. {
  47. namespace awt
  48. {
  49. class CausedFocusEvent$Cause;
  50. }
  51. }
  52. }
  53. class java::awt::peer::CanvasPeer : public ::java::lang::Object
  54. {
  55. public:
  56. virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
  57. virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
  58. virtual ::java::awt::Image * createImage(jint, jint) = 0;
  59. virtual void disable() = 0;
  60. virtual void dispose() = 0;
  61. virtual void enable() = 0;
  62. virtual ::java::awt::image::ColorModel * getColorModel() = 0;
  63. virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
  64. virtual ::java::awt::Graphics * getGraphics() = 0;
  65. virtual ::java::awt::Point * getLocationOnScreen() = 0;
  66. virtual ::java::awt::Dimension * getMinimumSize() = 0;
  67. virtual ::java::awt::Dimension * getPreferredSize() = 0;
  68. virtual ::java::awt::Toolkit * getToolkit() = 0;
  69. virtual void handleEvent(::java::awt::AWTEvent *) = 0;
  70. virtual void hide() = 0;
  71. virtual jboolean isFocusTraversable() = 0;
  72. virtual jboolean isFocusable() = 0;
  73. virtual ::java::awt::Dimension * minimumSize() = 0;
  74. virtual ::java::awt::Dimension * preferredSize() = 0;
  75. virtual void paint(::java::awt::Graphics *) = 0;
  76. virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
  77. virtual void print(::java::awt::Graphics *) = 0;
  78. virtual void repaint(jlong, jint, jint, jint, jint) = 0;
  79. virtual void requestFocus() = 0;
  80. virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong) = 0;
  81. virtual void reshape(jint, jint, jint, jint) = 0;
  82. virtual void setBackground(::java::awt::Color *) = 0;
  83. virtual void setBounds(jint, jint, jint, jint) = 0;
  84. virtual void setCursor(::java::awt::Cursor *) = 0;
  85. virtual void setEnabled(jboolean) = 0;
  86. virtual void setFont(::java::awt::Font *) = 0;
  87. virtual void setForeground(::java::awt::Color *) = 0;
  88. virtual void setVisible(jboolean) = 0;
  89. virtual void show() = 0;
  90. virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration() = 0;
  91. virtual void setEventMask(jlong) = 0;
  92. virtual jboolean isObscured() = 0;
  93. virtual jboolean canDetermineObscurity() = 0;
  94. virtual void coalescePaintEvent(::java::awt::event::PaintEvent *) = 0;
  95. virtual void updateCursorImmediately() = 0;
  96. virtual jboolean handlesWheelScrolling() = 0;
  97. virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint) = 0;
  98. virtual void createBuffers(jint, ::java::awt::BufferCapabilities *) = 0;
  99. virtual ::java::awt::Image * getBackBuffer() = 0;
  100. virtual void flip(::java::awt::BufferCapabilities$FlipContents *) = 0;
  101. virtual void destroyBuffers() = 0;
  102. virtual ::java::awt::Rectangle * getBounds() = 0;
  103. virtual void reparent(::java::awt::peer::ContainerPeer *) = 0;
  104. virtual void setBounds(jint, jint, jint, jint, jint) = 0;
  105. virtual jboolean isReparentSupported() = 0;
  106. virtual void layout() = 0;
  107. virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong, ::sun::awt::CausedFocusEvent$Cause *) = 0;
  108. static ::java::lang::Class class$;
  109. } __attribute__ ((java_interface));
  110. #endif // __java_awt_peer_CanvasPeer__