XCanvasPeer.h 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __gnu_awt_xlib_XCanvasPeer__
  3. #define __gnu_awt_xlib_XCanvasPeer__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace gnu
  9. {
  10. namespace awt
  11. {
  12. namespace xlib
  13. {
  14. class XCanvasPeer;
  15. class XGraphicsConfiguration;
  16. class XToolkit;
  17. }
  18. }
  19. namespace gcj
  20. {
  21. namespace xlib
  22. {
  23. class Window;
  24. class WindowAttributes;
  25. }
  26. }
  27. }
  28. namespace java
  29. {
  30. namespace awt
  31. {
  32. class AWTEvent;
  33. class BufferCapabilities;
  34. class BufferCapabilities$FlipContents;
  35. class Color;
  36. class Component;
  37. class Cursor;
  38. class Dimension;
  39. class Font;
  40. class FontMetrics;
  41. class Graphics;
  42. class GraphicsConfiguration;
  43. class Image;
  44. class Point;
  45. class Rectangle;
  46. class Toolkit;
  47. namespace event
  48. {
  49. class PaintEvent;
  50. }
  51. namespace image
  52. {
  53. class ColorModel;
  54. class ImageObserver;
  55. class ImageProducer;
  56. class VolatileImage;
  57. }
  58. namespace peer
  59. {
  60. class ContainerPeer;
  61. }
  62. }
  63. }
  64. namespace sun
  65. {
  66. namespace awt
  67. {
  68. class CausedFocusEvent$Cause;
  69. }
  70. }
  71. }
  72. class gnu::awt::xlib::XCanvasPeer : public ::java::lang::Object
  73. {
  74. public:
  75. XCanvasPeer(::java::awt::Component *);
  76. public: // actually package-private
  77. virtual ::gnu::gcj::xlib::Window * locateParentWindow(::java::awt::Rectangle *);
  78. virtual void initWindowProperties();
  79. virtual ::gnu::awt::xlib::XToolkit * getXToolkit();
  80. public: // actually protected
  81. virtual void ensureFlush();
  82. public:
  83. virtual ::java::awt::Component * getComponent();
  84. public: // actually package-private
  85. virtual jlong getBasicEventMask();
  86. public:
  87. virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
  88. virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *);
  89. virtual ::java::awt::Image * createImage(jint, jint);
  90. virtual void dispose();
  91. virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration();
  92. virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
  93. virtual ::java::awt::image::ColorModel * getColorModel();
  94. virtual ::java::awt::Graphics * getGraphics();
  95. virtual ::java::awt::Point * getLocationOnScreen();
  96. virtual ::java::awt::Dimension * getMinimumSize();
  97. virtual ::java::awt::Dimension * minimumSize();
  98. virtual ::java::awt::Dimension * getPreferredSize();
  99. virtual ::java::awt::Dimension * preferredSize();
  100. virtual ::java::awt::Toolkit * getToolkit();
  101. virtual void handleEvent(::java::awt::AWTEvent *);
  102. virtual jboolean isFocusTraversable();
  103. virtual void paint(::java::awt::Graphics *);
  104. virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
  105. virtual void print(::java::awt::Graphics *);
  106. virtual void repaint(jlong, jint, jint, jint, jint);
  107. virtual void requestFocus();
  108. virtual void setBackground(::java::awt::Color *);
  109. virtual void setBounds(jint, jint, jint, jint);
  110. virtual void reshape(jint, jint, jint, jint);
  111. virtual void setCursor(::java::awt::Cursor *);
  112. virtual void setEnabled(jboolean);
  113. virtual void enable();
  114. virtual void disable();
  115. virtual void setEventMask(jlong);
  116. virtual void setFont(::java::awt::Font *);
  117. virtual void setForeground(::java::awt::Color *);
  118. virtual void setVisible(jboolean);
  119. virtual void show();
  120. virtual void hide();
  121. virtual jboolean isFocusable();
  122. virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong);
  123. virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong, ::sun::awt::CausedFocusEvent$Cause *);
  124. virtual jboolean isObscured();
  125. virtual jboolean canDetermineObscurity();
  126. virtual void coalescePaintEvent(::java::awt::event::PaintEvent *);
  127. virtual void updateCursorImmediately();
  128. virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint);
  129. virtual jboolean handlesWheelScrolling();
  130. virtual void createBuffers(jint, ::java::awt::BufferCapabilities *);
  131. virtual ::java::awt::Image * getBackBuffer();
  132. virtual void flip(::java::awt::BufferCapabilities$FlipContents *);
  133. virtual void destroyBuffers();
  134. virtual jboolean isRestackSupported();
  135. virtual void cancelPendingPaint(jint, jint, jint, jint);
  136. virtual void restack();
  137. virtual ::java::awt::Rectangle * getBounds();
  138. virtual void reparent(::java::awt::peer::ContainerPeer *);
  139. virtual void setBounds(jint, jint, jint, jint, jint);
  140. virtual jboolean isReparentSupported();
  141. virtual void layout();
  142. public: // actually package-private
  143. static ::java::awt::Dimension * MIN_SIZE;
  144. public:
  145. ::gnu::gcj::xlib::Window * __attribute__((aligned(__alignof__( ::java::lang::Object)))) window;
  146. public: // actually package-private
  147. ::gnu::gcj::xlib::Window * parent;
  148. ::java::awt::Component * component;
  149. ::gnu::awt::xlib::XGraphicsConfiguration * config;
  150. private:
  151. ::gnu::gcj::xlib::WindowAttributes * attributes;
  152. jlong eventMask;
  153. ::java::awt::Rectangle * locationBounds;
  154. public:
  155. static ::java::lang::Class class$;
  156. };
  157. #endif // __gnu_awt_xlib_XCanvasPeer__