OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [java/] [awt/] [Component.h] - Blame information for rev 758

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 758 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __java_awt_Component__
5
#define __java_awt_Component__
6
 
7
#pragma interface
8
 
9
#include <java/lang/Object.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace java
15
  {
16
    namespace awt
17
    {
18
        class AWTEvent;
19
        class Color;
20
        class Component;
21
        class ComponentOrientation;
22
        class Container;
23
        class Cursor;
24
        class Dimension;
25
        class Event;
26
        class Font;
27
        class FontMetrics;
28
        class Graphics;
29
        class GraphicsConfiguration;
30
        class Image;
31
        class ImageCapabilities;
32
        class MenuComponent;
33
        class Point;
34
        class PopupMenu;
35
        class Rectangle;
36
        class Toolkit;
37
      namespace dnd
38
      {
39
          class DropTarget;
40
      }
41
      namespace event
42
      {
43
          class ComponentEvent;
44
          class ComponentListener;
45
          class FocusEvent;
46
          class FocusListener;
47
          class HierarchyBoundsListener;
48
          class HierarchyEvent;
49
          class HierarchyListener;
50
          class InputMethodEvent;
51
          class InputMethodListener;
52
          class KeyEvent;
53
          class KeyListener;
54
          class MouseEvent;
55
          class MouseListener;
56
          class MouseMotionListener;
57
          class MouseWheelEvent;
58
          class MouseWheelListener;
59
      }
60
      namespace im
61
      {
62
          class InputContext;
63
          class InputMethodRequests;
64
      }
65
      namespace image
66
      {
67
          class BufferStrategy;
68
          class ColorModel;
69
          class ImageObserver;
70
          class ImageProducer;
71
          class VolatileImage;
72
      }
73
      namespace peer
74
      {
75
          class ComponentPeer;
76
      }
77
    }
78
    namespace beans
79
    {
80
        class PropertyChangeListener;
81
        class PropertyChangeSupport;
82
    }
83
  }
84
  namespace javax
85
  {
86
    namespace accessibility
87
    {
88
        class AccessibleContext;
89
    }
90
  }
91
}
92
 
93
class java::awt::Component : public ::java::lang::Object
94
{
95
 
96
public: // actually protected
97
  Component();
98
public:
99
  virtual ::java::lang::String * getName();
100
  virtual void setName(::java::lang::String *);
101
  virtual ::java::awt::Container * getParent();
102
  virtual ::java::awt::peer::ComponentPeer * getPeer();
103
  virtual void setDropTarget(::java::awt::dnd::DropTarget *);
104
  virtual ::java::awt::dnd::DropTarget * getDropTarget();
105
  virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration();
106
  virtual ::java::lang::Object * getTreeLock();
107
  virtual ::java::awt::Toolkit * getToolkit();
108
  virtual jboolean isValid();
109
  virtual jboolean isDisplayable();
110
  virtual jboolean isVisible();
111
  virtual jboolean isShowing();
112
  virtual jboolean isEnabled();
113
  virtual void setEnabled(jboolean);
114
  virtual void enable();
115
  virtual void enable(jboolean);
116
  virtual void disable();
117
  virtual jboolean isDoubleBuffered();
118
  virtual void enableInputMethods(jboolean);
119
  virtual void setVisible(jboolean);
120
  virtual void show();
121
  virtual void show(jboolean);
122
  virtual void hide();
123
  virtual ::java::awt::Color * getForeground();
124
  virtual void setForeground(::java::awt::Color *);
125
  virtual jboolean isForegroundSet();
126
  virtual ::java::awt::Color * getBackground();
127
  virtual void setBackground(::java::awt::Color *);
128
  virtual jboolean isBackgroundSet();
129
  virtual ::java::awt::Font * getFont();
130
private:
131
  ::java::awt::Font * getFontImpl();
132
public:
133
  virtual void setFont(::java::awt::Font *);
134
  virtual jboolean isFontSet();
135
  virtual ::java::util::Locale * getLocale();
136
  virtual void setLocale(::java::util::Locale *);
137
  virtual ::java::awt::image::ColorModel * getColorModel();
138
  virtual ::java::awt::Point * getLocation();
139
  virtual ::java::awt::Point * getLocationOnScreen();
140
  virtual ::java::awt::Point * location();
141
  virtual void setLocation(jint, jint);
142
  virtual void move(jint, jint);
143
  virtual void setLocation(::java::awt::Point *);
144
  virtual ::java::awt::Dimension * getSize();
145
  virtual ::java::awt::Dimension * size();
146
  virtual void setSize(jint, jint);
147
  virtual void resize(jint, jint);
148
  virtual void setSize(::java::awt::Dimension *);
149
  virtual void resize(::java::awt::Dimension *);
150
  virtual ::java::awt::Rectangle * getBounds();
151
  virtual ::java::awt::Rectangle * bounds();
152
  virtual void setBounds(jint, jint, jint, jint);
153
  virtual void reshape(jint, jint, jint, jint);
154
public: // actually package-private
155
  virtual void notifyReshape(jboolean, jboolean);
156
public:
157
  virtual void setBounds(::java::awt::Rectangle *);
158
  virtual jint getX();
159
  virtual jint getY();
160
  virtual jint getWidth();
161
  virtual jint getHeight();
162
  virtual ::java::awt::Rectangle * getBounds(::java::awt::Rectangle *);
163
  virtual ::java::awt::Dimension * getSize(::java::awt::Dimension *);
164
  virtual ::java::awt::Point * getLocation(::java::awt::Point *);
165
  virtual jboolean isOpaque();
166
  virtual jboolean isLightweight();
167
  virtual ::java::awt::Dimension * getPreferredSize();
168
  virtual void setPreferredSize(::java::awt::Dimension *);
169
  virtual jboolean isPreferredSizeSet();
170
  virtual ::java::awt::Dimension * preferredSize();
171
public: // actually package-private
172
  virtual ::java::awt::Dimension * preferredSizeImpl();
173
public:
174
  virtual ::java::awt::Dimension * getMinimumSize();
175
  virtual void setMinimumSize(::java::awt::Dimension *);
176
  virtual jboolean isMinimumSizeSet();
177
  virtual ::java::awt::Dimension * minimumSize();
178
public: // actually package-private
179
  virtual ::java::awt::Dimension * minimumSizeImpl();
180
public:
181
  virtual ::java::awt::Dimension * getMaximumSize();
182
public: // actually package-private
183
  virtual ::java::awt::Dimension * maximumSizeImpl();
184
public:
185
  virtual void setMaximumSize(::java::awt::Dimension *);
186
  virtual jboolean isMaximumSizeSet();
187
  virtual jfloat getAlignmentX();
188
  virtual jfloat getAlignmentY();
189
  virtual void doLayout();
190
  virtual void layout();
191
  virtual void validate();
192
  virtual void invalidate();
193
  virtual ::java::awt::Graphics * getGraphics();
194
  virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
195
  virtual void setCursor(::java::awt::Cursor *);
196
  virtual ::java::awt::Cursor * getCursor();
197
  virtual jboolean isCursorSet();
198
  virtual void paint(::java::awt::Graphics *);
199
  virtual void update(::java::awt::Graphics *);
200
  virtual void paintAll(::java::awt::Graphics *);
201
  virtual void repaint();
202
  virtual void repaint(jlong);
203
  virtual void repaint(jint, jint, jint, jint);
204
  virtual void repaint(jlong, jint, jint, jint, jint);
205
  virtual void print(::java::awt::Graphics *);
206
  virtual void printAll(::java::awt::Graphics *);
207
  virtual jboolean imageUpdate(::java::awt::Image *, jint, jint, jint, jint, jint);
208
  virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *);
209
  virtual ::java::awt::Image * createImage(jint, jint);
210
  virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint);
211
  virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint, ::java::awt::ImageCapabilities *);
212
  virtual jboolean prepareImage(::java::awt::Image *, ::java::awt::image::ImageObserver *);
213
  virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
214
  virtual jint checkImage(::java::awt::Image *, ::java::awt::image::ImageObserver *);
215
  virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
216
  virtual void setIgnoreRepaint(jboolean);
217
  virtual jboolean getIgnoreRepaint();
218
  virtual jboolean contains(jint, jint);
219
  virtual jboolean inside(jint, jint);
220
  virtual jboolean contains(::java::awt::Point *);
221
  virtual ::java::awt::Component * getComponentAt(jint, jint);
222
  virtual ::java::awt::Component * locate(jint, jint);
223
  virtual ::java::awt::Component * getComponentAt(::java::awt::Point *);
224
  virtual void deliverEvent(::java::awt::Event *);
225
  virtual void dispatchEvent(::java::awt::AWTEvent *);
226
public: // actually package-private
227
  static jboolean ignoreOldMouseEvents();
228
public:
229
  virtual jboolean postEvent(::java::awt::Event *);
230
  virtual void addComponentListener(::java::awt::event::ComponentListener *);
231
  virtual void removeComponentListener(::java::awt::event::ComponentListener *);
232
  virtual JArray< ::java::awt::event::ComponentListener * > * getComponentListeners();
233
  virtual void addFocusListener(::java::awt::event::FocusListener *);
234
  virtual void removeFocusListener(::java::awt::event::FocusListener *);
235
  virtual JArray< ::java::awt::event::FocusListener * > * getFocusListeners();
236
  virtual void addHierarchyListener(::java::awt::event::HierarchyListener *);
237
  virtual void removeHierarchyListener(::java::awt::event::HierarchyListener *);
238
  virtual JArray< ::java::awt::event::HierarchyListener * > * getHierarchyListeners();
239
  virtual void addHierarchyBoundsListener(::java::awt::event::HierarchyBoundsListener *);
240
  virtual void removeHierarchyBoundsListener(::java::awt::event::HierarchyBoundsListener *);
241
  virtual JArray< ::java::awt::event::HierarchyBoundsListener * > * getHierarchyBoundsListeners();
242
public: // actually package-private
243
  virtual void fireHierarchyEvent(jint, ::java::awt::Component *, ::java::awt::Container *, jlong);
244
public:
245
  virtual void addKeyListener(::java::awt::event::KeyListener *);
246
  virtual void removeKeyListener(::java::awt::event::KeyListener *);
247
  virtual JArray< ::java::awt::event::KeyListener * > * getKeyListeners();
248
  virtual void addMouseListener(::java::awt::event::MouseListener *);
249
  virtual void removeMouseListener(::java::awt::event::MouseListener *);
250
  virtual JArray< ::java::awt::event::MouseListener * > * getMouseListeners();
251
  virtual void addMouseMotionListener(::java::awt::event::MouseMotionListener *);
252
  virtual void removeMouseMotionListener(::java::awt::event::MouseMotionListener *);
253
  virtual JArray< ::java::awt::event::MouseMotionListener * > * getMouseMotionListeners();
254
  virtual void addMouseWheelListener(::java::awt::event::MouseWheelListener *);
255
  virtual void removeMouseWheelListener(::java::awt::event::MouseWheelListener *);
256
  virtual JArray< ::java::awt::event::MouseWheelListener * > * getMouseWheelListeners();
257
  virtual void addInputMethodListener(::java::awt::event::InputMethodListener *);
258
  virtual void removeInputMethodListener(::java::awt::event::InputMethodListener *);
259
  virtual JArray< ::java::awt::event::InputMethodListener * > * getInputMethodListeners();
260
  virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
261
  virtual ::java::awt::im::InputMethodRequests * getInputMethodRequests();
262
  virtual ::java::awt::im::InputContext * getInputContext();
263
public: // actually protected
264
  virtual void enableEvents(jlong);
265
  virtual void disableEvents(jlong);
266
  virtual ::java::awt::AWTEvent * coalesceEvents(::java::awt::AWTEvent *, ::java::awt::AWTEvent *);
267
  virtual void processEvent(::java::awt::AWTEvent *);
268
  virtual void processComponentEvent(::java::awt::event::ComponentEvent *);
269
  virtual void processFocusEvent(::java::awt::event::FocusEvent *);
270
  virtual void processKeyEvent(::java::awt::event::KeyEvent *);
271
  virtual void processMouseEvent(::java::awt::event::MouseEvent *);
272
  virtual void processMouseMotionEvent(::java::awt::event::MouseEvent *);
273
  virtual void processMouseWheelEvent(::java::awt::event::MouseWheelEvent *);
274
  virtual void processInputMethodEvent(::java::awt::event::InputMethodEvent *);
275
  virtual void processHierarchyEvent(::java::awt::event::HierarchyEvent *);
276
  virtual void processHierarchyBoundsEvent(::java::awt::event::HierarchyEvent *);
277
public:
278
  virtual jboolean handleEvent(::java::awt::Event *);
279
  virtual jboolean mouseDown(::java::awt::Event *, jint, jint);
280
  virtual jboolean mouseDrag(::java::awt::Event *, jint, jint);
281
  virtual jboolean mouseUp(::java::awt::Event *, jint, jint);
282
  virtual jboolean mouseMove(::java::awt::Event *, jint, jint);
283
  virtual jboolean mouseEnter(::java::awt::Event *, jint, jint);
284
  virtual jboolean mouseExit(::java::awt::Event *, jint, jint);
285
  virtual jboolean keyDown(::java::awt::Event *, jint);
286
  virtual jboolean keyUp(::java::awt::Event *, jint);
287
  virtual jboolean action(::java::awt::Event *, ::java::lang::Object *);
288
  virtual void addNotify();
289
  virtual void removeNotify();
290
  virtual jboolean gotFocus(::java::awt::Event *, ::java::lang::Object *);
291
  virtual jboolean lostFocus(::java::awt::Event *, ::java::lang::Object *);
292
  virtual jboolean isFocusTraversable();
293
  virtual jboolean isFocusable();
294
  virtual void setFocusable(jboolean);
295
  virtual void setFocusTraversalKeys(jint, ::java::util::Set *);
296
  virtual ::java::util::Set * getFocusTraversalKeys(jint);
297
  virtual jboolean areFocusTraversalKeysSet(jint);
298
  virtual void setFocusTraversalKeysEnabled(jboolean);
299
  virtual jboolean getFocusTraversalKeysEnabled();
300
  virtual void requestFocus();
301
public: // actually protected
302
  virtual jboolean requestFocus(jboolean);
303
public:
304
  virtual jboolean requestFocusInWindow();
305
public: // actually protected
306
  virtual jboolean requestFocusInWindow(jboolean);
307
private:
308
  jboolean requestFocusImpl(jboolean, jboolean);
309
public:
310
  virtual void transferFocus();
311
  virtual ::java::awt::Container * getFocusCycleRootAncestor();
312
  virtual jboolean isFocusCycleRoot(::java::awt::Container *);
313
  virtual void nextFocus();
314
  virtual void transferFocusBackward();
315
  virtual void transferFocusUpCycle();
316
  virtual jboolean hasFocus();
317
  virtual jboolean isFocusOwner();
318
  virtual void add(::java::awt::PopupMenu *);
319
  virtual void remove(::java::awt::MenuComponent *);
320
public: // actually protected
321
  virtual ::java::lang::String * paramString();
322
public:
323
  virtual ::java::lang::String * toString();
324
  virtual void list();
325
  virtual void list(::java::io::PrintStream *);
326
  virtual void list(::java::io::PrintStream *, jint);
327
  virtual void list(::java::io::PrintWriter *);
328
  virtual void list(::java::io::PrintWriter *, jint);
329
  virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *);
330
  virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *);
331
  virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners();
332
  virtual void addPropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
333
  virtual void removePropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
334
  virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners(::java::lang::String *);
335
public: // actually protected
336
  virtual void firePropertyChange(::java::lang::String *, ::java::lang::Object *, ::java::lang::Object *);
337
  virtual void firePropertyChange(::java::lang::String *, jboolean, jboolean);
338
  virtual void firePropertyChange(::java::lang::String *, jint, jint);
339
public:
340
  virtual void firePropertyChange(::java::lang::String *, jbyte, jbyte);
341
  virtual void firePropertyChange(::java::lang::String *, jchar, jchar);
342
  virtual void firePropertyChange(::java::lang::String *, jshort, jshort);
343
  virtual void firePropertyChange(::java::lang::String *, jlong, jlong);
344
  virtual void firePropertyChange(::java::lang::String *, jfloat, jfloat);
345
  virtual void firePropertyChange(::java::lang::String *, jdouble, jdouble);
346
  virtual void setComponentOrientation(::java::awt::ComponentOrientation *);
347
  virtual ::java::awt::ComponentOrientation * getComponentOrientation();
348
  virtual void applyComponentOrientation(::java::awt::ComponentOrientation *);
349
  virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
350
public: // actually package-private
351
  virtual ::java::lang::String * generateName();
352
  virtual void setPeer(::java::awt::peer::ComponentPeer *);
353
  static ::java::awt::Event * translateEvent(::java::awt::AWTEvent *);
354
  virtual void dispatchEventImpl(::java::awt::AWTEvent *);
355
  virtual jboolean eventTypeEnabled(jint);
356
  virtual jboolean isHierarchyVisible();
357
public:
358
  virtual ::java::awt::Point * getMousePosition();
359
public: // actually package-private
360
  virtual ::java::awt::Point * getMousePositionHelper(jboolean);
361
  virtual jboolean mouseOverComponent(::java::awt::Component *, jboolean);
362
  virtual ::java::awt::Component * findNextFocusComponent(::java::awt::Component *);
363
private:
364
  void readObject(::java::io::ObjectInputStream *);
365
  void writeObject(::java::io::ObjectOutputStream *);
366
  static const jlong serialVersionUID = -7644114512714619750LL;
367
public:
368
  static jfloat TOP_ALIGNMENT;
369
  static jfloat CENTER_ALIGNMENT;
370
  static jfloat BOTTOM_ALIGNMENT;
371
  static jfloat RIGHT_ALIGNMENT;
372
  static jfloat LEFT_ALIGNMENT;
373
public: // actually package-private
374
  static ::java::lang::Object * treeLock;
375
private:
376
  static ::java::awt::Dimension * DEFAULT_MAX_SIZE;
377
public: // actually package-private
378
  jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) x;
379
  jint y;
380
  jint width;
381
  jint height;
382
  ::java::awt::Color * foreground;
383
  ::java::awt::Color * background;
384
  ::java::awt::Font * font;
385
  ::java::awt::Font * peerFont;
386
  ::java::awt::Cursor * cursor;
387
  ::java::util::Locale * locale;
388
  jboolean ignoreRepaint;
389
  jboolean visible;
390
  jboolean enabled;
391
  jboolean valid;
392
  ::java::awt::dnd::DropTarget * dropTarget;
393
  ::java::util::Vector * popups;
394
  ::java::lang::String * name;
395
  jboolean nameExplicitlySet;
396
  jboolean focusable;
397
  jint isFocusTraversableOverridden;
398
  JArray< ::java::util::Set * > * focusTraversalKeys;
399
  jboolean focusTraversalKeysEnabled;
400
  ::java::awt::Dimension * minSize;
401
  jboolean minSizeSet;
402
  ::java::awt::Dimension * maxSize;
403
  jboolean maxSizeSet;
404
  ::java::awt::Dimension * prefSize;
405
  jboolean prefSizeSet;
406
  jboolean newEventsOnly;
407
  jlong eventMask;
408
  ::java::beans::PropertyChangeSupport * changeSupport;
409
  jboolean isPacked;
410
  jint componentSerializedDataVersion;
411
  ::javax::accessibility::AccessibleContext * accessibleContext;
412
  ::java::awt::event::ComponentListener * componentListener;
413
  ::java::awt::event::FocusListener * focusListener;
414
  ::java::awt::event::KeyListener * keyListener;
415
  ::java::awt::event::MouseListener * mouseListener;
416
  ::java::awt::event::MouseMotionListener * mouseMotionListener;
417
  ::java::awt::event::MouseWheelListener * mouseWheelListener;
418
  ::java::awt::event::InputMethodListener * inputMethodListener;
419
  ::java::awt::event::HierarchyListener * hierarchyListener;
420
  ::java::awt::event::HierarchyBoundsListener * hierarchyBoundsListener;
421
  ::java::awt::Container * parent;
422
  ::java::awt::peer::ComponentPeer * peer;
423
  ::java::awt::ComponentOrientation * componentOrientation;
424
  ::java::awt::GraphicsConfiguration * graphicsConfig;
425
  ::java::awt::image::BufferStrategy * bufferStrategy;
426
  jint numHierarchyListeners;
427
  jint numHierarchyBoundsListeners;
428
private:
429
  ::java::awt::event::FocusEvent * pendingFocusRequest;
430
  static jboolean incrementalDraw;
431
  static ::java::lang::Long * redrawRate;
432
public: // actually package-private
433
  static jboolean $assertionsDisabled;
434
public:
435
  static ::java::lang::Class class$;
436
};
437
 
438
#endif // __java_awt_Component__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.