1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_awt_Toolkit__
|
5 |
|
|
#define __java_awt_Toolkit__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace gnu
|
15 |
|
|
{
|
16 |
|
|
namespace java
|
17 |
|
|
{
|
18 |
|
|
namespace awt
|
19 |
|
|
{
|
20 |
|
|
namespace peer
|
21 |
|
|
{
|
22 |
|
|
class GLightweightPeer;
|
23 |
|
|
}
|
24 |
|
|
}
|
25 |
|
|
}
|
26 |
|
|
}
|
27 |
|
|
namespace java
|
28 |
|
|
{
|
29 |
|
|
namespace awt
|
30 |
|
|
{
|
31 |
|
|
class AWTEvent;
|
32 |
|
|
class Button;
|
33 |
|
|
class Canvas;
|
34 |
|
|
class Checkbox;
|
35 |
|
|
class CheckboxMenuItem;
|
36 |
|
|
class Choice;
|
37 |
|
|
class Component;
|
38 |
|
|
class Container;
|
39 |
|
|
class Cursor;
|
40 |
|
|
class Desktop;
|
41 |
|
|
class Dialog;
|
42 |
|
|
class Dialog$ModalExclusionType;
|
43 |
|
|
class Dialog$ModalityType;
|
44 |
|
|
class Dimension;
|
45 |
|
|
class EventQueue;
|
46 |
|
|
class FileDialog;
|
47 |
|
|
class Font;
|
48 |
|
|
class FontMetrics;
|
49 |
|
|
class Frame;
|
50 |
|
|
class GraphicsConfiguration;
|
51 |
|
|
class Image;
|
52 |
|
|
class Insets;
|
53 |
|
|
class JobAttributes;
|
54 |
|
|
class Label;
|
55 |
|
|
class List;
|
56 |
|
|
class Menu;
|
57 |
|
|
class MenuBar;
|
58 |
|
|
class MenuItem;
|
59 |
|
|
class PageAttributes;
|
60 |
|
|
class Panel;
|
61 |
|
|
class Point;
|
62 |
|
|
class PopupMenu;
|
63 |
|
|
class PrintJob;
|
64 |
|
|
class ScrollPane;
|
65 |
|
|
class Scrollbar;
|
66 |
|
|
class TextArea;
|
67 |
|
|
class TextField;
|
68 |
|
|
class Toolkit;
|
69 |
|
|
class Window;
|
70 |
|
|
namespace datatransfer
|
71 |
|
|
{
|
72 |
|
|
class Clipboard;
|
73 |
|
|
}
|
74 |
|
|
namespace dnd
|
75 |
|
|
{
|
76 |
|
|
class DragGestureEvent;
|
77 |
|
|
class DragGestureListener;
|
78 |
|
|
class DragGestureRecognizer;
|
79 |
|
|
class DragSource;
|
80 |
|
|
namespace peer
|
81 |
|
|
{
|
82 |
|
|
class DragSourceContextPeer;
|
83 |
|
|
}
|
84 |
|
|
}
|
85 |
|
|
namespace event
|
86 |
|
|
{
|
87 |
|
|
class AWTEventListener;
|
88 |
|
|
class AWTEventListenerProxy;
|
89 |
|
|
}
|
90 |
|
|
namespace im
|
91 |
|
|
{
|
92 |
|
|
class InputMethodHighlight;
|
93 |
|
|
}
|
94 |
|
|
namespace image
|
95 |
|
|
{
|
96 |
|
|
class ColorModel;
|
97 |
|
|
class ImageObserver;
|
98 |
|
|
class ImageProducer;
|
99 |
|
|
}
|
100 |
|
|
namespace peer
|
101 |
|
|
{
|
102 |
|
|
class ButtonPeer;
|
103 |
|
|
class CanvasPeer;
|
104 |
|
|
class CheckboxMenuItemPeer;
|
105 |
|
|
class CheckboxPeer;
|
106 |
|
|
class ChoicePeer;
|
107 |
|
|
class DesktopPeer;
|
108 |
|
|
class DialogPeer;
|
109 |
|
|
class FileDialogPeer;
|
110 |
|
|
class FontPeer;
|
111 |
|
|
class FramePeer;
|
112 |
|
|
class LabelPeer;
|
113 |
|
|
class LightweightPeer;
|
114 |
|
|
class ListPeer;
|
115 |
|
|
class MenuBarPeer;
|
116 |
|
|
class MenuItemPeer;
|
117 |
|
|
class MenuPeer;
|
118 |
|
|
class MouseInfoPeer;
|
119 |
|
|
class PanelPeer;
|
120 |
|
|
class PopupMenuPeer;
|
121 |
|
|
class ScrollPanePeer;
|
122 |
|
|
class ScrollbarPeer;
|
123 |
|
|
class TextAreaPeer;
|
124 |
|
|
class TextFieldPeer;
|
125 |
|
|
class WindowPeer;
|
126 |
|
|
}
|
127 |
|
|
}
|
128 |
|
|
namespace beans
|
129 |
|
|
{
|
130 |
|
|
class PropertyChangeListener;
|
131 |
|
|
class PropertyChangeSupport;
|
132 |
|
|
}
|
133 |
|
|
namespace net
|
134 |
|
|
{
|
135 |
|
|
class URL;
|
136 |
|
|
}
|
137 |
|
|
}
|
138 |
|
|
}
|
139 |
|
|
|
140 |
|
|
class java::awt::Toolkit : public ::java::lang::Object
|
141 |
|
|
{
|
142 |
|
|
|
143 |
|
|
public:
|
144 |
|
|
Toolkit();
|
145 |
|
|
public: // actually protected
|
146 |
|
|
virtual ::java::awt::peer::DesktopPeer * createDesktopPeer(::java::awt::Desktop *) = 0;
|
147 |
|
|
virtual ::java::awt::peer::ButtonPeer * createButton(::java::awt::Button *) = 0;
|
148 |
|
|
virtual ::java::awt::peer::TextFieldPeer * createTextField(::java::awt::TextField *) = 0;
|
149 |
|
|
virtual ::java::awt::peer::LabelPeer * createLabel(::java::awt::Label *) = 0;
|
150 |
|
|
virtual ::java::awt::peer::ListPeer * createList(::java::awt::List *) = 0;
|
151 |
|
|
virtual ::java::awt::peer::CheckboxPeer * createCheckbox(::java::awt::Checkbox *) = 0;
|
152 |
|
|
virtual ::java::awt::peer::ScrollbarPeer * createScrollbar(::java::awt::Scrollbar *) = 0;
|
153 |
|
|
virtual ::java::awt::peer::ScrollPanePeer * createScrollPane(::java::awt::ScrollPane *) = 0;
|
154 |
|
|
virtual ::java::awt::peer::TextAreaPeer * createTextArea(::java::awt::TextArea *) = 0;
|
155 |
|
|
virtual ::java::awt::peer::ChoicePeer * createChoice(::java::awt::Choice *) = 0;
|
156 |
|
|
virtual ::java::awt::peer::FramePeer * createFrame(::java::awt::Frame *) = 0;
|
157 |
|
|
virtual ::java::awt::peer::CanvasPeer * createCanvas(::java::awt::Canvas *) = 0;
|
158 |
|
|
virtual ::java::awt::peer::PanelPeer * createPanel(::java::awt::Panel *) = 0;
|
159 |
|
|
virtual ::java::awt::peer::WindowPeer * createWindow(::java::awt::Window *) = 0;
|
160 |
|
|
virtual ::java::awt::peer::DialogPeer * createDialog(::java::awt::Dialog *) = 0;
|
161 |
|
|
virtual ::java::awt::peer::MenuBarPeer * createMenuBar(::java::awt::MenuBar *) = 0;
|
162 |
|
|
virtual ::java::awt::peer::MenuPeer * createMenu(::java::awt::Menu *) = 0;
|
163 |
|
|
virtual ::java::awt::peer::PopupMenuPeer * createPopupMenu(::java::awt::PopupMenu *) = 0;
|
164 |
|
|
virtual ::java::awt::peer::MenuItemPeer * createMenuItem(::java::awt::MenuItem *) = 0;
|
165 |
|
|
virtual ::java::awt::peer::MouseInfoPeer * getMouseInfoPeer();
|
166 |
|
|
virtual ::java::awt::peer::FileDialogPeer * createFileDialog(::java::awt::FileDialog *) = 0;
|
167 |
|
|
virtual ::java::awt::peer::CheckboxMenuItemPeer * createCheckboxMenuItem(::java::awt::CheckboxMenuItem *) = 0;
|
168 |
|
|
virtual ::java::awt::peer::LightweightPeer * createComponent(::java::awt::Component *);
|
169 |
|
|
virtual ::java::awt::peer::FontPeer * getFontPeer(::java::lang::String *, jint) = 0;
|
170 |
|
|
virtual void loadSystemColors(JArray< jint > *);
|
171 |
|
|
public:
|
172 |
|
|
virtual void setDynamicLayout(jboolean);
|
173 |
|
|
public: // actually protected
|
174 |
|
|
virtual jboolean isDynamicLayoutSet();
|
175 |
|
|
public:
|
176 |
|
|
virtual jboolean isDynamicLayoutActive();
|
177 |
|
|
virtual ::java::awt::Dimension * getScreenSize() = 0;
|
178 |
|
|
virtual jint getScreenResolution() = 0;
|
179 |
|
|
virtual ::java::awt::Insets * getScreenInsets(::java::awt::GraphicsConfiguration *);
|
180 |
|
|
virtual ::java::awt::image::ColorModel * getColorModel() = 0;
|
181 |
|
|
virtual JArray< ::java::lang::String * > * getFontList() = 0;
|
182 |
|
|
virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
|
183 |
|
|
virtual void sync() = 0;
|
184 |
|
|
static ::java::awt::Toolkit * getDefaultToolkit();
|
185 |
|
|
virtual ::java::awt::Image * getImage(::java::lang::String *) = 0;
|
186 |
|
|
virtual ::java::awt::Image * getImage(::java::net::URL *) = 0;
|
187 |
|
|
virtual ::java::awt::Image * createImage(::java::lang::String *) = 0;
|
188 |
|
|
virtual ::java::awt::Image * createImage(::java::net::URL *) = 0;
|
189 |
|
|
virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
|
190 |
|
|
virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
|
191 |
|
|
virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
|
192 |
|
|
virtual ::java::awt::Image * createImage(JArray< jbyte > *);
|
193 |
|
|
virtual ::java::awt::Image * createImage(JArray< jbyte > *, jint, jint) = 0;
|
194 |
|
|
virtual ::java::awt::PrintJob * getPrintJob(::java::awt::Frame *, ::java::lang::String *, ::java::util::Properties *) = 0;
|
195 |
|
|
virtual ::java::awt::PrintJob * getPrintJob(::java::awt::Frame *, ::java::lang::String *, ::java::awt::JobAttributes *, ::java::awt::PageAttributes *);
|
196 |
|
|
virtual void beep() = 0;
|
197 |
|
|
virtual ::java::awt::datatransfer::Clipboard * getSystemClipboard() = 0;
|
198 |
|
|
virtual ::java::awt::datatransfer::Clipboard * getSystemSelection();
|
199 |
|
|
virtual jint getMenuShortcutKeyMask();
|
200 |
|
|
virtual jboolean getLockingKeyState(jint);
|
201 |
|
|
virtual void setLockingKeyState(jint, jboolean);
|
202 |
|
|
public: // actually protected
|
203 |
|
|
static ::java::awt::Container * getNativeContainer(::java::awt::Component *);
|
204 |
|
|
public:
|
205 |
|
|
virtual ::java::awt::Cursor * createCustomCursor(::java::awt::Image *, ::java::awt::Point *, ::java::lang::String *);
|
206 |
|
|
virtual ::java::awt::Dimension * getBestCursorSize(jint, jint);
|
207 |
|
|
virtual jint getMaximumCursorColors();
|
208 |
|
|
virtual jboolean isFrameStateSupported(jint);
|
209 |
|
|
static ::java::lang::String * getProperty(::java::lang::String *, ::java::lang::String *);
|
210 |
|
|
virtual ::java::awt::EventQueue * getSystemEventQueue();
|
211 |
|
|
public: // actually protected
|
212 |
|
|
virtual ::java::awt::EventQueue * getSystemEventQueueImpl() = 0;
|
213 |
|
|
public:
|
214 |
|
|
virtual ::java::awt::dnd::peer::DragSourceContextPeer * createDragSourceContextPeer(::java::awt::dnd::DragGestureEvent *) = 0;
|
215 |
|
|
virtual ::java::awt::dnd::DragGestureRecognizer * createDragGestureRecognizer(::java::lang::Class *, ::java::awt::dnd::DragSource *, ::java::awt::Component *, jint, ::java::awt::dnd::DragGestureListener *);
|
216 |
|
|
virtual ::java::lang::Object * getDesktopProperty(::java::lang::String *);
|
217 |
|
|
public: // actually protected
|
218 |
|
|
virtual void setDesktopProperty(::java::lang::String *, ::java::lang::Object *);
|
219 |
|
|
virtual ::java::lang::Object * lazilyLoadDesktopProperty(::java::lang::String *);
|
220 |
|
|
virtual void initializeDesktopProperties();
|
221 |
|
|
public:
|
222 |
|
|
virtual void addPropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
|
223 |
|
|
virtual void removePropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
|
224 |
|
|
virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners();
|
225 |
|
|
virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners(::java::lang::String *);
|
226 |
|
|
virtual void addAWTEventListener(::java::awt::event::AWTEventListener *, jlong);
|
227 |
|
|
virtual void removeAWTEventListener(::java::awt::event::AWTEventListener *);
|
228 |
|
|
virtual JArray< ::java::awt::event::AWTEventListener * > * getAWTEventListeners();
|
229 |
|
|
virtual JArray< ::java::awt::event::AWTEventListener * > * getAWTEventListeners(jlong);
|
230 |
|
|
public: // actually package-private
|
231 |
|
|
virtual void globalDispatchEvent(::java::awt::AWTEvent *);
|
232 |
|
|
public:
|
233 |
|
|
virtual ::java::util::Map * mapInputMethodHighlight(::java::awt::im::InputMethodHighlight *) = 0;
|
234 |
|
|
virtual jboolean isModalExclusionTypeSupported(::java::awt::Dialog$ModalExclusionType *) = 0;
|
235 |
|
|
virtual jboolean isModalityTypeSupported(::java::awt::Dialog$ModalityType *) = 0;
|
236 |
|
|
private:
|
237 |
|
|
static void initAccessibility();
|
238 |
|
|
static ::java::lang::String * default_toolkit_name;
|
239 |
|
|
static ::java::awt::Toolkit * toolkit;
|
240 |
|
|
static ::java::util::Properties * props;
|
241 |
|
|
public: // actually protected
|
242 |
|
|
::java::util::Map * __attribute__((aligned(__alignof__( ::java::lang::Object)))) desktopProperties;
|
243 |
|
|
::java::beans::PropertyChangeSupport * desktopPropsSupport;
|
244 |
|
|
public: // actually package-private
|
245 |
|
|
JArray< ::java::awt::event::AWTEventListenerProxy * > * awtEventListeners;
|
246 |
|
|
private:
|
247 |
|
|
::gnu::java::awt::peer::GLightweightPeer * lightweightPeer;
|
248 |
|
|
public:
|
249 |
|
|
static ::java::lang::Class class$;
|
250 |
|
|
};
|
251 |
|
|
|
252 |
|
|
#endif // __java_awt_Toolkit__
|