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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [javax/] [swing/] [JComponent.h] - Blame information for rev 759

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 759 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __javax_swing_JComponent__
5
#define __javax_swing_JComponent__
6
 
7
#pragma interface
8
 
9
#include <java/awt/Container.h>
10
#include <gcj/array.h>
11
 
12
extern "Java"
13
{
14
  namespace java
15
  {
16
    namespace awt
17
    {
18
        class Color;
19
        class Component;
20
        class Container;
21
        class Dimension;
22
        class Font;
23
        class Graphics;
24
        class Image;
25
        class Insets;
26
        class Point;
27
        class Rectangle;
28
      namespace event
29
      {
30
          class ActionListener;
31
          class KeyEvent;
32
          class MouseEvent;
33
      }
34
    }
35
    namespace beans
36
    {
37
        class VetoableChangeListener;
38
        class VetoableChangeSupport;
39
    }
40
  }
41
  namespace javax
42
  {
43
    namespace accessibility
44
    {
45
        class AccessibleContext;
46
    }
47
    namespace swing
48
    {
49
        class ActionMap;
50
        class ComponentInputMap;
51
        class InputMap;
52
        class InputVerifier;
53
        class JComponent;
54
        class JPopupMenu;
55
        class JRootPane;
56
        class JToolTip;
57
        class KeyStroke;
58
        class TransferHandler;
59
      namespace border
60
      {
61
          class Border;
62
      }
63
      namespace event
64
      {
65
          class AncestorListener;
66
          class EventListenerList;
67
      }
68
      namespace plaf
69
      {
70
          class ComponentUI;
71
      }
72
    }
73
  }
74
}
75
 
76
class javax::swing::JComponent : public ::java::awt::Container
77
{
78
 
79
public:
80
  JComponent();
81
private:
82
  ::java::util::Hashtable * getClientProperties();
83
public:
84
  virtual ::java::lang::Object * getClientProperty(::java::lang::Object *);
85
  virtual void putClientProperty(::java::lang::Object *, ::java::lang::Object *);
86
  virtual void removeAncestorListener(::javax::swing::event::AncestorListener *);
87
  virtual void removeVetoableChangeListener(::java::beans::VetoableChangeListener *);
88
  virtual void addAncestorListener(::javax::swing::event::AncestorListener *);
89
  virtual void addVetoableChangeListener(::java::beans::VetoableChangeListener *);
90
  virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
91
  virtual JArray< ::javax::swing::event::AncestorListener * > * getAncestorListeners();
92
  virtual JArray< ::java::beans::VetoableChangeListener * > * getVetoableChangeListeners();
93
public: // actually protected
94
  virtual void fireVetoableChange(::java::lang::String *, ::java::lang::Object *, ::java::lang::Object *);
95
public:
96
  virtual void firePropertyChange(::java::lang::String *, jint, jint);
97
  virtual void firePropertyChange(::java::lang::String *, jboolean, jboolean);
98
  virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
99
  virtual jfloat getAlignmentX();
100
  virtual jfloat getAlignmentY();
101
  virtual jboolean getAutoscrolls();
102
  virtual void setBorder(::javax::swing::border::Border *);
103
  virtual ::javax::swing::border::Border * getBorder();
104
  virtual ::java::awt::Rectangle * getBounds(::java::awt::Rectangle *);
105
public: // actually protected
106
  virtual ::java::awt::Graphics * getComponentGraphics(::java::awt::Graphics *);
107
public:
108
  virtual jint getDebugGraphicsOptions();
109
  virtual ::java::awt::Insets * getInsets();
110
  virtual ::java::awt::Insets * getInsets(::java::awt::Insets *);
111
  virtual ::java::awt::Point * getLocation(::java::awt::Point *);
112
  virtual ::java::awt::Dimension * getMaximumSize();
113
  virtual ::java::awt::Dimension * getMinimumSize();
114
  virtual ::java::awt::Dimension * getPreferredSize();
115
  virtual ::java::awt::Component * getNextFocusableComponent();
116
  virtual JArray< ::javax::swing::KeyStroke * > * getRegisteredKeyStrokes();
117
  virtual ::javax::swing::JRootPane * getRootPane();
118
  virtual ::java::awt::Dimension * getSize(::java::awt::Dimension *);
119
  virtual ::javax::swing::JToolTip * createToolTip();
120
  virtual ::java::awt::Point * getToolTipLocation(::java::awt::event::MouseEvent *);
121
  virtual void setToolTipText(::java::lang::String *);
122
  virtual ::java::lang::String * getToolTipText();
123
  virtual ::java::lang::String * getToolTipText(::java::awt::event::MouseEvent *);
124
  virtual jboolean getInheritsPopupMenu();
125
  virtual void setInheritsPopupMenu(jboolean);
126
  virtual ::javax::swing::JPopupMenu * getComponentPopupMenu();
127
  virtual void setComponentPopupMenu(::javax::swing::JPopupMenu *);
128
  virtual ::java::awt::Container * getTopLevelAncestor();
129
  virtual void computeVisibleRect(::java::awt::Rectangle *);
130
  virtual ::java::awt::Rectangle * getVisibleRect();
131
  virtual void grabFocus();
132
  virtual jboolean isDoubleBuffered();
133
  static jboolean isLightweightComponent(::java::awt::Component *);
134
  virtual jboolean isManagingFocus();
135
  virtual jboolean isOpaque();
136
  virtual jboolean isOptimizedDrawingEnabled();
137
  virtual jboolean isPaintingTile();
138
  virtual jboolean isRequestFocusEnabled();
139
  virtual jboolean isValidateRoot();
140
  virtual void paint(::java::awt::Graphics *);
141
private:
142
  jboolean isOccupiedByChild(jint, jint, jint, jint);
143
  void initializeDragBuffer();
144
public: // actually protected
145
  virtual void paintBorder(::java::awt::Graphics *);
146
  virtual void paintChildren(::java::awt::Graphics *);
147
private:
148
  jboolean isCompletelyObscured(jint, jint, jint, jint, jint);
149
  jboolean isPartiallyObscured(jint, jint, jint, jint, jint);
150
public: // actually protected
151
  virtual void paintComponent(::java::awt::Graphics *);
152
public:
153
  virtual void paintImmediately(jint, jint, jint, jint);
154
  virtual void paintImmediately(::java::awt::Rectangle *);
155
public: // actually package-private
156
  virtual void paintImmediately2(jint, jint, jint, jint);
157
  virtual jboolean onTop();
158
  virtual jboolean isPaintRoot();
159
private:
160
  void paintDoubleBuffered(jint, jint, jint, jint);
161
  void clipAndTranslateGraphics(::java::awt::Component *, ::java::awt::Component *, ::java::awt::Graphics *);
162
public: // actually package-private
163
  virtual void paintSimple(::java::awt::Rectangle *);
164
public: // actually protected
165
  virtual ::java::lang::String * paramString();
166
public:
167
  virtual void registerKeyboardAction(::java::awt::event::ActionListener *, ::javax::swing::KeyStroke *, jint);
168
  virtual void registerKeyboardAction(::java::awt::event::ActionListener *, ::java::lang::String *, ::javax::swing::KeyStroke *, jint);
169
  virtual void setInputMap(jint, ::javax::swing::InputMap *);
170
  virtual ::javax::swing::InputMap * getInputMap(jint);
171
  virtual ::javax::swing::InputMap * getInputMap();
172
  virtual ::javax::swing::ActionMap * getActionMap();
173
  virtual void setActionMap(::javax::swing::ActionMap *);
174
  virtual jint getConditionForKeyStroke(::javax::swing::KeyStroke *);
175
  virtual ::java::awt::event::ActionListener * getActionForKeyStroke(::javax::swing::KeyStroke *);
176
public: // actually protected
177
  virtual void processComponentKeyEvent(::java::awt::event::KeyEvent *);
178
  virtual void processKeyEvent(::java::awt::event::KeyEvent *);
179
  virtual jboolean processKeyBinding(::javax::swing::KeyStroke *, ::java::awt::event::KeyEvent *, jint, jboolean);
180
public:
181
  virtual void unregisterKeyboardAction(::javax::swing::KeyStroke *);
182
  virtual void resetKeyboardActions();
183
  virtual void repaint(jlong, jint, jint, jint, jint);
184
  virtual void repaint(::java::awt::Rectangle *);
185
  virtual jboolean requestDefaultFocus();
186
  virtual void revalidate();
187
  virtual void scrollRectToVisible(::java::awt::Rectangle *);
188
  virtual void setAlignmentX(jfloat);
189
  virtual void setAlignmentY(jfloat);
190
  virtual void setAutoscrolls(jboolean);
191
  virtual void setDebugGraphicsOptions(jint);
192
  virtual void setDoubleBuffered(jboolean);
193
  virtual void setEnabled(jboolean);
194
  virtual void setFont(::java::awt::Font *);
195
  virtual void setBackground(::java::awt::Color *);
196
  virtual void setForeground(::java::awt::Color *);
197
  virtual void setNextFocusableComponent(::java::awt::Component *);
198
  virtual void setRequestFocusEnabled(jboolean);
199
  virtual ::javax::swing::TransferHandler * getTransferHandler();
200
  virtual void setTransferHandler(::javax::swing::TransferHandler *);
201
  virtual void setOpaque(jboolean);
202
  virtual void setVisible(jboolean);
203
  virtual void update(::java::awt::Graphics *);
204
  virtual ::java::lang::String * getUIClassID();
205
public: // actually protected
206
  virtual void setUI(::javax::swing::plaf::ComponentUI *);
207
public:
208
  virtual void updateUI();
209
  static ::java::util::Locale * getDefaultLocale();
210
  static void setDefaultLocale(::java::util::Locale *);
211
  virtual ::javax::swing::InputVerifier * getInputVerifier();
212
  virtual void setInputVerifier(::javax::swing::InputVerifier *);
213
  virtual jboolean getVerifyInputWhenFocusTarget();
214
  virtual void setVerifyInputWhenFocusTarget(jboolean);
215
  virtual void requestFocus();
216
  virtual jboolean requestFocus(jboolean);
217
  virtual jboolean requestFocusInWindow();
218
public: // actually protected
219
  virtual jboolean requestFocusInWindow(jboolean);
220
public:
221
  virtual void addNotify();
222
  virtual void removeNotify();
223
  virtual jboolean contains(jint, jint);
224
  virtual void disable();
225
  virtual void enable();
226
  virtual ::java::awt::Graphics * getGraphics();
227
  virtual jint getX();
228
  virtual jint getY();
229
  virtual jint getHeight();
230
  virtual jint getWidth();
231
  virtual void print(::java::awt::Graphics *);
232
  virtual void printAll(::java::awt::Graphics *);
233
public: // actually protected
234
  virtual void printComponent(::java::awt::Graphics *);
235
  virtual void printChildren(::java::awt::Graphics *);
236
  virtual void printBorder(::java::awt::Graphics *);
237
  virtual void processMouseMotionEvent(::java::awt::event::MouseEvent *);
238
public:
239
  virtual void reshape(jint, jint, jint, jint);
240
public: // actually package-private
241
  virtual void fireAncestorEvent(::javax::swing::JComponent *, jint);
242
  virtual void updateComponentInputMap(::javax::swing::ComponentInputMap *);
243
  virtual void setUIProperty(::java::lang::String *, ::java::lang::Object *);
244
private:
245
  static const jlong serialVersionUID = -7908749299918704233LL;
246
public: // actually protected
247
  ::javax::accessibility::AccessibleContext * __attribute__((aligned(__alignof__( ::java::awt::Container)))) accessibleContext;
248
public: // actually package-private
249
  jfloat alignmentX;
250
  jfloat alignmentY;
251
  ::javax::swing::border::Border * border;
252
  ::javax::swing::JPopupMenu * componentPopupMenu;
253
  jboolean inheritsPopupMenu;
254
  jboolean doubleBuffered;
255
  jint debugGraphicsOptions;
256
  jboolean opaque;
257
public: // actually protected
258
  ::javax::swing::plaf::ComponentUI * ui;
259
public: // actually package-private
260
  jboolean requestFocusEnabled;
261
  jboolean autoscrolls;
262
  static jboolean paintingDoubleBuffered;
263
  static jboolean isRepainting;
264
public: // actually protected
265
  ::javax::swing::event::EventListenerList * listenerList;
266
private:
267
  ::java::beans::VetoableChangeSupport * vetoableChangeSupport;
268
  ::java::util::Hashtable * clientProperties;
269
  ::javax::swing::InputMap * inputMap_whenFocused;
270
  ::javax::swing::InputMap * inputMap_whenAncestorOfFocused;
271
  ::javax::swing::ComponentInputMap * inputMap_whenInFocusedWindow;
272
  ::javax::swing::ActionMap * actionMap;
273
  jboolean verifyInputWhenFocusTarget;
274
  ::javax::swing::InputVerifier * inputVerifier;
275
  ::javax::swing::TransferHandler * transferHandler;
276
  jboolean paintingTile;
277
  ::java::awt::Image * dragBuffer;
278
  jboolean dragBufferInitialized;
279
  static ::java::awt::Rectangle * rectCache;
280
  static ::java::util::Locale * defaultLocale;
281
public:
282
  static ::java::lang::String * TOOL_TIP_TEXT_KEY;
283
  static const jint UNDEFINED_CONDITION = -1;
284
  static const jint WHEN_FOCUSED = 0;
285
  static const jint WHEN_ANCESTOR_OF_FOCUSED_COMPONENT = 1;
286
  static const jint WHEN_IN_FOCUSED_WINDOW = 2;
287
public: // actually package-private
288
  ::java::awt::Component * paintChild;
289
private:
290
  jboolean clientOpaqueSet;
291
  jboolean clientAutoscrollsSet;
292
public:
293
  static ::java::lang::Class class$;
294
};
295
 
296
#endif // __javax_swing_JComponent__

powered by: WebSVN 2.1.0

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