1 |
756 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __gnu_java_awt_peer_swing_SwingComponentPeer__
|
5 |
|
|
#define __gnu_java_awt_peer_swing_SwingComponentPeer__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
extern "Java"
|
11 |
|
|
{
|
12 |
|
|
namespace gnu
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace awt
|
17 |
|
|
{
|
18 |
|
|
namespace peer
|
19 |
|
|
{
|
20 |
|
|
namespace swing
|
21 |
|
|
{
|
22 |
|
|
class SwingComponent;
|
23 |
|
|
class SwingComponentPeer;
|
24 |
|
|
}
|
25 |
|
|
}
|
26 |
|
|
}
|
27 |
|
|
}
|
28 |
|
|
}
|
29 |
|
|
namespace java
|
30 |
|
|
{
|
31 |
|
|
namespace awt
|
32 |
|
|
{
|
33 |
|
|
class AWTEvent;
|
34 |
|
|
class BufferCapabilities;
|
35 |
|
|
class BufferCapabilities$FlipContents;
|
36 |
|
|
class Color;
|
37 |
|
|
class Component;
|
38 |
|
|
class Cursor;
|
39 |
|
|
class Dimension;
|
40 |
|
|
class Font;
|
41 |
|
|
class FontMetrics;
|
42 |
|
|
class Graphics;
|
43 |
|
|
class GraphicsConfiguration;
|
44 |
|
|
class Image;
|
45 |
|
|
class Point;
|
46 |
|
|
class Rectangle;
|
47 |
|
|
class Toolkit;
|
48 |
|
|
namespace event
|
49 |
|
|
{
|
50 |
|
|
class FocusEvent;
|
51 |
|
|
class KeyEvent;
|
52 |
|
|
class MouseEvent;
|
53 |
|
|
class PaintEvent;
|
54 |
|
|
}
|
55 |
|
|
namespace image
|
56 |
|
|
{
|
57 |
|
|
class ColorModel;
|
58 |
|
|
class ImageObserver;
|
59 |
|
|
class ImageProducer;
|
60 |
|
|
class VolatileImage;
|
61 |
|
|
}
|
62 |
|
|
namespace peer
|
63 |
|
|
{
|
64 |
|
|
class ContainerPeer;
|
65 |
|
|
}
|
66 |
|
|
}
|
67 |
|
|
}
|
68 |
|
|
namespace sun
|
69 |
|
|
{
|
70 |
|
|
namespace awt
|
71 |
|
|
{
|
72 |
|
|
class CausedFocusEvent$Cause;
|
73 |
|
|
}
|
74 |
|
|
}
|
75 |
|
|
}
|
76 |
|
|
|
77 |
|
|
class gnu::java::awt::peer::swing::SwingComponentPeer : public ::java::lang::Object
|
78 |
|
|
{
|
79 |
|
|
|
80 |
|
|
public: // actually protected
|
81 |
|
|
SwingComponentPeer();
|
82 |
|
|
virtual void init(::java::awt::Component *, ::gnu::java::awt::peer::swing::SwingComponent *);
|
83 |
|
|
public:
|
84 |
|
|
virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
|
85 |
|
|
virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *);
|
86 |
|
|
virtual ::java::awt::Image * createImage(jint, jint);
|
87 |
|
|
virtual void disable();
|
88 |
|
|
virtual void dispose();
|
89 |
|
|
virtual void enable();
|
90 |
|
|
virtual ::java::awt::image::ColorModel * getColorModel();
|
91 |
|
|
virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *);
|
92 |
|
|
virtual ::java::awt::Graphics * getGraphics();
|
93 |
|
|
virtual ::java::awt::Point * getLocationOnScreen();
|
94 |
|
|
virtual ::java::awt::Dimension * getMinimumSize();
|
95 |
|
|
virtual ::java::awt::Dimension * getPreferredSize();
|
96 |
|
|
virtual ::java::awt::Toolkit * getToolkit();
|
97 |
|
|
virtual void handleEvent(::java::awt::AWTEvent *);
|
98 |
|
|
virtual void hide();
|
99 |
|
|
virtual jboolean isFocusTraversable();
|
100 |
|
|
virtual jboolean isFocusable();
|
101 |
|
|
virtual ::java::awt::Dimension * minimumSize();
|
102 |
|
|
virtual ::java::awt::Dimension * preferredSize();
|
103 |
|
|
virtual void paint(::java::awt::Graphics *);
|
104 |
|
|
virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *);
|
105 |
|
|
virtual void print(::java::awt::Graphics *);
|
106 |
|
|
virtual void repaint(jlong, jint, jint, jint, jint);
|
107 |
|
|
virtual void requestFocus();
|
108 |
|
|
virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong);
|
109 |
|
|
virtual void reshape(jint, jint, jint, jint);
|
110 |
|
|
virtual void setBackground(::java::awt::Color *);
|
111 |
|
|
virtual void setBounds(jint, jint, jint, jint);
|
112 |
|
|
virtual void setCursor(::java::awt::Cursor *);
|
113 |
|
|
virtual void setEnabled(jboolean);
|
114 |
|
|
virtual void setFont(::java::awt::Font *);
|
115 |
|
|
virtual void setForeground(::java::awt::Color *);
|
116 |
|
|
virtual void setVisible(jboolean);
|
117 |
|
|
virtual void show();
|
118 |
|
|
virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration();
|
119 |
|
|
virtual void setEventMask(jlong);
|
120 |
|
|
virtual jboolean isObscured();
|
121 |
|
|
virtual jboolean canDetermineObscurity();
|
122 |
|
|
virtual void coalescePaintEvent(::java::awt::event::PaintEvent *);
|
123 |
|
|
virtual void updateCursorImmediately();
|
124 |
|
|
virtual jboolean handlesWheelScrolling();
|
125 |
|
|
virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint);
|
126 |
|
|
virtual void createBuffers(jint, ::java::awt::BufferCapabilities *);
|
127 |
|
|
virtual ::java::awt::Image * getBackBuffer();
|
128 |
|
|
virtual void flip(::java::awt::BufferCapabilities$FlipContents *);
|
129 |
|
|
virtual void destroyBuffers();
|
130 |
|
|
virtual ::java::awt::Rectangle * getBounds();
|
131 |
|
|
virtual void reparent(::java::awt::peer::ContainerPeer *);
|
132 |
|
|
virtual void setBounds(jint, jint, jint, jint, jint);
|
133 |
|
|
virtual jboolean isReparentSupported();
|
134 |
|
|
virtual void layout();
|
135 |
|
|
public: // actually protected
|
136 |
|
|
virtual void peerPaint(::java::awt::Graphics *, jboolean);
|
137 |
|
|
virtual void peerPaintComponent(::java::awt::Graphics *);
|
138 |
|
|
virtual void handleMouseEvent(::java::awt::event::MouseEvent *);
|
139 |
|
|
virtual void handleMouseMotionEvent(::java::awt::event::MouseEvent *);
|
140 |
|
|
virtual void handleKeyEvent(::java::awt::event::KeyEvent *);
|
141 |
|
|
virtual void handleFocusEvent(::java::awt::event::FocusEvent *);
|
142 |
|
|
public:
|
143 |
|
|
virtual ::java::awt::Component * getComponent();
|
144 |
|
|
virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong, ::sun::awt::CausedFocusEvent$Cause *);
|
145 |
|
|
public: // actually protected
|
146 |
|
|
::java::awt::Component * __attribute__((aligned(__alignof__( ::java::lang::Object)))) awtComponent;
|
147 |
|
|
::gnu::java::awt::peer::swing::SwingComponent * swingComponent;
|
148 |
|
|
::java::awt::Font * peerFont;
|
149 |
|
|
::java::awt::Rectangle * paintArea;
|
150 |
|
|
public: // actually package-private
|
151 |
|
|
static jboolean $assertionsDisabled;
|
152 |
|
|
public:
|
153 |
|
|
static ::java::lang::Class class$;
|
154 |
|
|
};
|
155 |
|
|
|
156 |
|
|
#endif // __gnu_java_awt_peer_swing_SwingComponentPeer__
|