1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_awt_peer_TextComponentPeer__
|
5 |
|
|
#define __java_awt_peer_TextComponentPeer__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/lang/Object.h>
|
10 |
|
|
extern "Java"
|
11 |
|
|
{
|
12 |
|
|
namespace java
|
13 |
|
|
{
|
14 |
|
|
namespace awt
|
15 |
|
|
{
|
16 |
|
|
class AWTEvent;
|
17 |
|
|
class BufferCapabilities;
|
18 |
|
|
class BufferCapabilities$FlipContents;
|
19 |
|
|
class Color;
|
20 |
|
|
class Component;
|
21 |
|
|
class Cursor;
|
22 |
|
|
class Dimension;
|
23 |
|
|
class Font;
|
24 |
|
|
class FontMetrics;
|
25 |
|
|
class Graphics;
|
26 |
|
|
class GraphicsConfiguration;
|
27 |
|
|
class Image;
|
28 |
|
|
class Point;
|
29 |
|
|
class Rectangle;
|
30 |
|
|
class Toolkit;
|
31 |
|
|
namespace event
|
32 |
|
|
{
|
33 |
|
|
class PaintEvent;
|
34 |
|
|
}
|
35 |
|
|
namespace im
|
36 |
|
|
{
|
37 |
|
|
class InputMethodRequests;
|
38 |
|
|
}
|
39 |
|
|
namespace image
|
40 |
|
|
{
|
41 |
|
|
class ColorModel;
|
42 |
|
|
class ImageObserver;
|
43 |
|
|
class ImageProducer;
|
44 |
|
|
class VolatileImage;
|
45 |
|
|
}
|
46 |
|
|
namespace peer
|
47 |
|
|
{
|
48 |
|
|
class ContainerPeer;
|
49 |
|
|
class TextComponentPeer;
|
50 |
|
|
}
|
51 |
|
|
}
|
52 |
|
|
}
|
53 |
|
|
namespace sun
|
54 |
|
|
{
|
55 |
|
|
namespace awt
|
56 |
|
|
{
|
57 |
|
|
class CausedFocusEvent$Cause;
|
58 |
|
|
}
|
59 |
|
|
}
|
60 |
|
|
}
|
61 |
|
|
|
62 |
|
|
class java::awt::peer::TextComponentPeer : public ::java::lang::Object
|
63 |
|
|
{
|
64 |
|
|
|
65 |
|
|
public:
|
66 |
|
|
virtual jint getSelectionEnd() = 0;
|
67 |
|
|
virtual jint getSelectionStart() = 0;
|
68 |
|
|
virtual ::java::lang::String * getText() = 0;
|
69 |
|
|
virtual void setText(::java::lang::String *) = 0;
|
70 |
|
|
virtual void select(jint, jint) = 0;
|
71 |
|
|
virtual void setEditable(jboolean) = 0;
|
72 |
|
|
virtual jint getCaretPosition() = 0;
|
73 |
|
|
virtual void setCaretPosition(jint) = 0;
|
74 |
|
|
virtual jint getIndexAtPoint(jint, jint) = 0;
|
75 |
|
|
virtual ::java::awt::Rectangle * getCharacterBounds(jint) = 0;
|
76 |
|
|
virtual jlong filterEvents(jlong) = 0;
|
77 |
|
|
virtual ::java::awt::im::InputMethodRequests * getInputMethodRequests() = 0;
|
78 |
|
|
virtual jint checkImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
|
79 |
|
|
virtual ::java::awt::Image * createImage(::java::awt::image::ImageProducer *) = 0;
|
80 |
|
|
virtual ::java::awt::Image * createImage(jint, jint) = 0;
|
81 |
|
|
virtual void disable() = 0;
|
82 |
|
|
virtual void dispose() = 0;
|
83 |
|
|
virtual void enable() = 0;
|
84 |
|
|
virtual ::java::awt::image::ColorModel * getColorModel() = 0;
|
85 |
|
|
virtual ::java::awt::FontMetrics * getFontMetrics(::java::awt::Font *) = 0;
|
86 |
|
|
virtual ::java::awt::Graphics * getGraphics() = 0;
|
87 |
|
|
virtual ::java::awt::Point * getLocationOnScreen() = 0;
|
88 |
|
|
virtual ::java::awt::Dimension * getMinimumSize() = 0;
|
89 |
|
|
virtual ::java::awt::Dimension * getPreferredSize() = 0;
|
90 |
|
|
virtual ::java::awt::Toolkit * getToolkit() = 0;
|
91 |
|
|
virtual void handleEvent(::java::awt::AWTEvent *) = 0;
|
92 |
|
|
virtual void hide() = 0;
|
93 |
|
|
virtual jboolean isFocusTraversable() = 0;
|
94 |
|
|
virtual jboolean isFocusable() = 0;
|
95 |
|
|
virtual ::java::awt::Dimension * minimumSize() = 0;
|
96 |
|
|
virtual ::java::awt::Dimension * preferredSize() = 0;
|
97 |
|
|
virtual void paint(::java::awt::Graphics *) = 0;
|
98 |
|
|
virtual jboolean prepareImage(::java::awt::Image *, jint, jint, ::java::awt::image::ImageObserver *) = 0;
|
99 |
|
|
virtual void print(::java::awt::Graphics *) = 0;
|
100 |
|
|
virtual void repaint(jlong, jint, jint, jint, jint) = 0;
|
101 |
|
|
virtual void requestFocus() = 0;
|
102 |
|
|
virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong) = 0;
|
103 |
|
|
virtual void reshape(jint, jint, jint, jint) = 0;
|
104 |
|
|
virtual void setBackground(::java::awt::Color *) = 0;
|
105 |
|
|
virtual void setBounds(jint, jint, jint, jint) = 0;
|
106 |
|
|
virtual void setCursor(::java::awt::Cursor *) = 0;
|
107 |
|
|
virtual void setEnabled(jboolean) = 0;
|
108 |
|
|
virtual void setFont(::java::awt::Font *) = 0;
|
109 |
|
|
virtual void setForeground(::java::awt::Color *) = 0;
|
110 |
|
|
virtual void setVisible(jboolean) = 0;
|
111 |
|
|
virtual void show() = 0;
|
112 |
|
|
virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration() = 0;
|
113 |
|
|
virtual void setEventMask(jlong) = 0;
|
114 |
|
|
virtual jboolean isObscured() = 0;
|
115 |
|
|
virtual jboolean canDetermineObscurity() = 0;
|
116 |
|
|
virtual void coalescePaintEvent(::java::awt::event::PaintEvent *) = 0;
|
117 |
|
|
virtual void updateCursorImmediately() = 0;
|
118 |
|
|
virtual jboolean handlesWheelScrolling() = 0;
|
119 |
|
|
virtual ::java::awt::image::VolatileImage * createVolatileImage(jint, jint) = 0;
|
120 |
|
|
virtual void createBuffers(jint, ::java::awt::BufferCapabilities *) = 0;
|
121 |
|
|
virtual ::java::awt::Image * getBackBuffer() = 0;
|
122 |
|
|
virtual void flip(::java::awt::BufferCapabilities$FlipContents *) = 0;
|
123 |
|
|
virtual void destroyBuffers() = 0;
|
124 |
|
|
virtual ::java::awt::Rectangle * getBounds() = 0;
|
125 |
|
|
virtual void reparent(::java::awt::peer::ContainerPeer *) = 0;
|
126 |
|
|
virtual void setBounds(jint, jint, jint, jint, jint) = 0;
|
127 |
|
|
virtual jboolean isReparentSupported() = 0;
|
128 |
|
|
virtual void layout() = 0;
|
129 |
|
|
virtual jboolean requestFocus(::java::awt::Component *, jboolean, jboolean, jlong, ::sun::awt::CausedFocusEvent$Cause *) = 0;
|
130 |
|
|
static ::java::lang::Class class$;
|
131 |
|
|
} __attribute__ ((java_interface));
|
132 |
|
|
|
133 |
|
|
#endif // __java_awt_peer_TextComponentPeer__
|