1 |
756 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __gnu_awt_xlib_XToolkit__
|
5 |
|
|
#define __gnu_awt_xlib_XToolkit__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <gnu/java/awt/ClasspathToolkit.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace gnu
|
15 |
|
|
{
|
16 |
|
|
namespace awt
|
17 |
|
|
{
|
18 |
|
|
namespace xlib
|
19 |
|
|
{
|
20 |
|
|
class XEventLoop;
|
21 |
|
|
class XGraphicsConfiguration;
|
22 |
|
|
class XToolkit;
|
23 |
|
|
}
|
24 |
|
|
}
|
25 |
|
|
namespace gcj
|
26 |
|
|
{
|
27 |
|
|
namespace xlib
|
28 |
|
|
{
|
29 |
|
|
class Display;
|
30 |
|
|
}
|
31 |
|
|
}
|
32 |
|
|
namespace java
|
33 |
|
|
{
|
34 |
|
|
namespace awt
|
35 |
|
|
{
|
36 |
|
|
class EmbeddedWindow;
|
37 |
|
|
namespace peer
|
38 |
|
|
{
|
39 |
|
|
class ClasspathFontPeer;
|
40 |
|
|
class EmbeddedWindowPeer;
|
41 |
|
|
}
|
42 |
|
|
}
|
43 |
|
|
}
|
44 |
|
|
}
|
45 |
|
|
namespace java
|
46 |
|
|
{
|
47 |
|
|
namespace awt
|
48 |
|
|
{
|
49 |
|
|
class Button;
|
50 |
|
|
class Canvas;
|
51 |
|
|
class Checkbox;
|
52 |
|
|
class CheckboxMenuItem;
|
53 |
|
|
class Choice;
|
54 |
|
|
class Component;
|
55 |
|
|
class Dialog;
|
56 |
|
|
class Dialog$ModalExclusionType;
|
57 |
|
|
class Dialog$ModalityType;
|
58 |
|
|
class Dimension;
|
59 |
|
|
class EventQueue;
|
60 |
|
|
class FileDialog;
|
61 |
|
|
class Font;
|
62 |
|
|
class FontMetrics;
|
63 |
|
|
class Frame;
|
64 |
|
|
class GraphicsDevice;
|
65 |
|
|
class GraphicsEnvironment;
|
66 |
|
|
class Image;
|
67 |
|
|
class Label;
|
68 |
|
|
class List;
|
69 |
|
|
class Menu;
|
70 |
|
|
class MenuBar;
|
71 |
|
|
class MenuItem;
|
72 |
|
|
class Panel;
|
73 |
|
|
class PopupMenu;
|
74 |
|
|
class PrintJob;
|
75 |
|
|
class ScrollPane;
|
76 |
|
|
class Scrollbar;
|
77 |
|
|
class TextArea;
|
78 |
|
|
class TextField;
|
79 |
|
|
class Window;
|
80 |
|
|
namespace datatransfer
|
81 |
|
|
{
|
82 |
|
|
class Clipboard;
|
83 |
|
|
}
|
84 |
|
|
namespace dnd
|
85 |
|
|
{
|
86 |
|
|
class DragGestureEvent;
|
87 |
|
|
class DragGestureListener;
|
88 |
|
|
class DragGestureRecognizer;
|
89 |
|
|
class DragSource;
|
90 |
|
|
namespace peer
|
91 |
|
|
{
|
92 |
|
|
class DragSourceContextPeer;
|
93 |
|
|
}
|
94 |
|
|
}
|
95 |
|
|
namespace im
|
96 |
|
|
{
|
97 |
|
|
class InputMethodHighlight;
|
98 |
|
|
}
|
99 |
|
|
namespace image
|
100 |
|
|
{
|
101 |
|
|
class ColorModel;
|
102 |
|
|
class ImageObserver;
|
103 |
|
|
class ImageProducer;
|
104 |
|
|
}
|
105 |
|
|
namespace peer
|
106 |
|
|
{
|
107 |
|
|
class ButtonPeer;
|
108 |
|
|
class CanvasPeer;
|
109 |
|
|
class CheckboxMenuItemPeer;
|
110 |
|
|
class CheckboxPeer;
|
111 |
|
|
class ChoicePeer;
|
112 |
|
|
class DialogPeer;
|
113 |
|
|
class FileDialogPeer;
|
114 |
|
|
class FontPeer;
|
115 |
|
|
class FramePeer;
|
116 |
|
|
class LabelPeer;
|
117 |
|
|
class ListPeer;
|
118 |
|
|
class MenuBarPeer;
|
119 |
|
|
class MenuItemPeer;
|
120 |
|
|
class MenuPeer;
|
121 |
|
|
class PanelPeer;
|
122 |
|
|
class PopupMenuPeer;
|
123 |
|
|
class RobotPeer;
|
124 |
|
|
class ScrollPanePeer;
|
125 |
|
|
class ScrollbarPeer;
|
126 |
|
|
class TextAreaPeer;
|
127 |
|
|
class TextFieldPeer;
|
128 |
|
|
class WindowPeer;
|
129 |
|
|
}
|
130 |
|
|
}
|
131 |
|
|
namespace net
|
132 |
|
|
{
|
133 |
|
|
class URL;
|
134 |
|
|
}
|
135 |
|
|
}
|
136 |
|
|
}
|
137 |
|
|
|
138 |
|
|
class gnu::awt::xlib::XToolkit : public ::gnu::java::awt::ClasspathToolkit
|
139 |
|
|
{
|
140 |
|
|
|
141 |
|
|
public:
|
142 |
|
|
XToolkit();
|
143 |
|
|
virtual void flushIfIdle();
|
144 |
|
|
public: // actually protected
|
145 |
|
|
virtual ::java::awt::peer::ButtonPeer * createButton(::java::awt::Button *);
|
146 |
|
|
virtual ::java::awt::peer::TextFieldPeer * createTextField(::java::awt::TextField *);
|
147 |
|
|
virtual ::java::awt::peer::LabelPeer * createLabel(::java::awt::Label *);
|
148 |
|
|
virtual ::java::awt::peer::ListPeer * createList(::java::awt::List *);
|
149 |
|
|
virtual ::java::awt::peer::CheckboxPeer * createCheckbox(::java::awt::Checkbox *);
|
150 |
|
|
virtual ::java::awt::peer::ScrollbarPeer * createScrollbar(::java::awt::Scrollbar *);
|
151 |
|
|
virtual ::java::awt::peer::ScrollPanePeer * createScrollPane(::java::awt::ScrollPane *);
|
152 |
|
|
virtual ::java::awt::peer::TextAreaPeer * createTextArea(::java::awt::TextArea *);
|
153 |
|
|
virtual ::java::awt::peer::ChoicePeer * createChoice(::java::awt::Choice *);
|
154 |
|
|
virtual ::java::awt::peer::FramePeer * createFrame(::java::awt::Frame *);
|
155 |
|
|
virtual ::java::awt::peer::CanvasPeer * createCanvas(::java::awt::Canvas *);
|
156 |
|
|
virtual ::java::awt::peer::PanelPeer * createPanel(::java::awt::Panel *);
|
157 |
|
|
virtual ::java::awt::peer::WindowPeer * createWindow(::java::awt::Window *);
|
158 |
|
|
virtual ::java::awt::peer::DialogPeer * createDialog(::java::awt::Dialog *);
|
159 |
|
|
virtual ::java::awt::peer::MenuBarPeer * createMenuBar(::java::awt::MenuBar *);
|
160 |
|
|
virtual ::java::awt::peer::MenuPeer * createMenu(::java::awt::Menu *);
|
161 |
|
|
virtual ::java::awt::peer::PopupMenuPeer * createPopupMenu(::java::awt::PopupMenu *);
|
162 |
|
|
virtual ::java::awt::peer::MenuItemPeer * createMenuItem(::java::awt::MenuItem *);
|
163 |
|
|
virtual ::java::awt::peer::FileDialogPeer * createFileDialog(::java::awt::FileDialog *);
|
164 |
|
|
virtual ::java::awt::peer::CheckboxMenuItemPeer * createCheckboxMenuItem(::java::awt::CheckboxMenuItem *);
|
165 |
|
|
virtual ::java::awt::peer::FontPeer * getFontPeer(::java::lang::String *, jint);
|
166 |
|
|
public:
|
167 |
|
|
virtual ::java::awt::Dimension * getScreenSize();
|
168 |
|
|
virtual jint getScreenResolution();
|
169 |
|
|
virtual ::java::awt::image::ColorModel * getColorModel();
|
170 |
|
|
virtual JArray< ::java::lang::String * > * getFontList();
|
171 |
|
|
virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
|
172 |
|
|
virtual void sync();
|
173 |
|
|
virtual ::java::awt::Image * getImage(::java::lang::String *);
|
174 |
|
|
virtual ::java::awt::Image * getImage(::java::net::URL *);
|
175 |
|
|
virtual ::java::awt::Image * createImage(::java::lang::String *);
|
176 |
|
|
virtual ::java::awt::Image * createImage(::java::net::URL *);
|
177 |
|
|
virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
|
178 |
|
|
virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
|
179 |
|
|
virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *);
|
180 |
|
|
virtual ::java::awt::Image * createImage(JArray< jbyte > *, jint, jint);
|
181 |
|
|
virtual void beep();
|
182 |
|
|
virtual ::java::awt::datatransfer::Clipboard * getSystemClipboard();
|
183 |
|
|
public: // actually protected
|
184 |
|
|
virtual ::java::awt::EventQueue * getSystemEventQueueImpl();
|
185 |
|
|
public:
|
186 |
|
|
virtual ::java::awt::PrintJob * getPrintJob(::java::awt::Frame *, ::java::lang::String *, ::java::util::Properties *);
|
187 |
|
|
public: // actually package-private
|
188 |
|
|
virtual ::gnu::awt::xlib::XGraphicsConfiguration * getDefaultXGraphicsConfiguration();
|
189 |
|
|
public:
|
190 |
|
|
virtual ::java::awt::dnd::peer::DragSourceContextPeer * createDragSourceContextPeer(::java::awt::dnd::DragGestureEvent *);
|
191 |
|
|
virtual ::java::awt::dnd::DragGestureRecognizer * createDragGestureRecognizer(::java::lang::Class *, ::java::awt::dnd::DragSource *, ::java::awt::Component *, jint, ::java::awt::dnd::DragGestureListener *);
|
192 |
|
|
virtual ::java::util::Map * mapInputMethodHighlight(::java::awt::im::InputMethodHighlight *);
|
193 |
|
|
virtual ::java::awt::GraphicsEnvironment * getLocalGraphicsEnvironment();
|
194 |
|
|
virtual ::gnu::java::awt::peer::ClasspathFontPeer * getClasspathFontPeer(::java::lang::String *, ::java::util::Map *);
|
195 |
|
|
virtual ::java::awt::Font * createFont(jint, ::java::io::InputStream *);
|
196 |
|
|
virtual ::java::awt::peer::RobotPeer * createRobot(::java::awt::GraphicsDevice *);
|
197 |
|
|
virtual ::gnu::java::awt::peer::EmbeddedWindowPeer * createEmbeddedWindow(::gnu::java::awt::EmbeddedWindow *);
|
198 |
|
|
virtual jboolean nativeQueueEmpty();
|
199 |
|
|
virtual void wakeNativeQueue();
|
200 |
|
|
virtual void iterateNativeQueue(::java::awt::EventQueue *, jboolean);
|
201 |
|
|
virtual void setAlwaysOnTop(jboolean);
|
202 |
|
|
virtual jboolean isModalExclusionTypeSupported(::java::awt::Dialog$ModalExclusionType *);
|
203 |
|
|
virtual jboolean isModalityTypeSupported(::java::awt::Dialog$ModalityType *);
|
204 |
|
|
public: // actually package-private
|
205 |
|
|
static ::gnu::awt::xlib::XToolkit * INSTANCE;
|
206 |
|
|
::gnu::gcj::xlib::Display * __attribute__((aligned(__alignof__( ::gnu::java::awt::ClasspathToolkit)))) display;
|
207 |
|
|
::java::awt::EventQueue * queue;
|
208 |
|
|
::gnu::awt::xlib::XEventLoop * eventLoop;
|
209 |
|
|
::gnu::awt::xlib::XGraphicsConfiguration * defaultConfig;
|
210 |
|
|
public:
|
211 |
|
|
static ::java::lang::Class class$;
|
212 |
|
|
};
|
213 |
|
|
|
214 |
|
|
#endif // __gnu_awt_xlib_XToolkit__
|