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