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