blob: cbaec01315aad53757314d2729f37be5e2b57d50 (
plain)
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
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __javax_swing_text_JTextComponent__
#define __javax_swing_text_JTextComponent__
#pragma interface
#include <javax/swing/JComponent.h>
#include <gcj/array.h>
extern "Java"
{
namespace java
{
namespace awt
{
class Color;
class Dimension;
class Insets;
class Point;
class Rectangle;
namespace event
{
class InputMethodListener;
class MouseEvent;
}
}
}
namespace javax
{
namespace accessibility
{
class AccessibleContext;
}
namespace swing
{
class Action;
namespace event
{
class CaretEvent;
class CaretListener;
}
namespace plaf
{
class TextUI;
}
namespace text
{
class Caret;
class Document;
class Highlighter;
class JTextComponent;
class JTextComponent$DefaultTransferHandler;
class JTextComponent$KeyBinding;
class Keymap;
class NavigationFilter;
}
}
}
}
class javax::swing::text::JTextComponent : public ::javax::swing::JComponent
{
public:
static ::javax::swing::text::Keymap * getKeymap(::java::lang::String *);
static ::javax::swing::text::Keymap * removeKeymap(::java::lang::String *);
static ::javax::swing::text::Keymap * addKeymap(::java::lang::String *, ::javax::swing::text::Keymap *);
virtual ::javax::swing::text::Keymap * getKeymap();
virtual void setKeymap(::javax::swing::text::Keymap *);
static void loadKeymap(::javax::swing::text::Keymap *, JArray< ::javax::swing::text::JTextComponent$KeyBinding * > *, JArray< ::javax::swing::Action * > *);
virtual JArray< ::javax::swing::Action * > * getActions();
JTextComponent();
virtual void setDocument(::javax::swing::text::Document *);
virtual ::javax::swing::text::Document * getDocument();
virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
virtual void setMargin(::java::awt::Insets *);
virtual ::java::awt::Insets * getMargin();
virtual void setText(::java::lang::String *);
virtual ::java::lang::String * getText();
virtual ::java::lang::String * getText(jint, jint);
virtual ::java::lang::String * getSelectedText();
virtual ::java::lang::String * getUIClassID();
public: // actually protected
virtual ::java::lang::String * paramString();
public:
virtual ::javax::swing::plaf::TextUI * getUI();
virtual void setUI(::javax::swing::plaf::TextUI *);
virtual void updateUI();
virtual ::java::awt::Dimension * getPreferredScrollableViewportSize();
virtual jint getScrollableUnitIncrement(::java::awt::Rectangle *, jint, jint);
virtual jint getScrollableBlockIncrement(::java::awt::Rectangle *, jint, jint);
virtual jboolean isEditable();
virtual void setEditable(jboolean);
virtual ::javax::swing::text::Caret * getCaret();
virtual void setCaret(::javax::swing::text::Caret *);
virtual ::java::awt::Color * getCaretColor();
virtual void setCaretColor(::java::awt::Color *);
virtual ::java::awt::Color * getDisabledTextColor();
virtual void setDisabledTextColor(::java::awt::Color *);
virtual ::java::awt::Color * getSelectedTextColor();
virtual void setSelectedTextColor(::java::awt::Color *);
virtual ::java::awt::Color * getSelectionColor();
virtual void setSelectionColor(::java::awt::Color *);
virtual jint getCaretPosition();
virtual void setCaretPosition(jint);
virtual void moveCaretPosition(jint);
virtual ::javax::swing::text::Highlighter * getHighlighter();
virtual void setHighlighter(::javax::swing::text::Highlighter *);
virtual jint getSelectionStart();
virtual void setSelectionStart(jint);
virtual jint getSelectionEnd();
virtual void setSelectionEnd(jint);
virtual void select(jint, jint);
virtual void selectAll();
virtual void replaceSelection(::java::lang::String *);
virtual jboolean getScrollableTracksViewportHeight();
virtual jboolean getScrollableTracksViewportWidth();
virtual void addCaretListener(::javax::swing::event::CaretListener *);
virtual void removeCaretListener(::javax::swing::event::CaretListener *);
virtual JArray< ::javax::swing::event::CaretListener * > * getCaretListeners();
public: // actually protected
virtual void fireCaretUpdate(::javax::swing::event::CaretEvent *);
public:
virtual void addInputMethodListener(::java::awt::event::InputMethodListener *);
virtual void removeInputMethodListener(::java::awt::event::InputMethodListener *);
virtual JArray< ::java::awt::event::InputMethodListener * > * getInputMethodListeners();
virtual ::java::awt::Rectangle * modelToView(jint);
virtual jboolean getDragEnabled();
virtual void setDragEnabled(jboolean);
virtual jint viewToModel(::java::awt::Point *);
virtual void copy();
virtual void cut();
virtual void paste();
private:
void doTransferAction(::java::lang::String *, ::javax::swing::Action *);
public:
virtual void setFocusAccelerator(jchar);
virtual jchar getFocusAccelerator();
virtual ::javax::swing::text::NavigationFilter * getNavigationFilter();
virtual void setNavigationFilter(::javax::swing::text::NavigationFilter *);
virtual void read(::java::io::Reader *, ::java::lang::Object *);
virtual void write(::java::io::Writer *);
virtual ::java::lang::String * getToolTipText(::java::awt::event::MouseEvent *);
private:
static const jlong serialVersionUID = -8796518220218978795LL;
public:
static ::java::lang::String * DEFAULT_KEYMAP;
static ::java::lang::String * FOCUS_ACCELERATOR_KEY;
private:
static ::javax::swing::text::JTextComponent$DefaultTransferHandler * defaultTransferHandler;
static ::java::util::Hashtable * keymaps;
::javax::swing::text::Keymap * __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) keymap;
jchar focusAccelerator;
::javax::swing::text::NavigationFilter * navigationFilter;
public: // actually package-private
::javax::swing::text::Document * doc;
::javax::swing::text::Caret * caret;
jboolean editable;
private:
::javax::swing::text::Highlighter * highlighter;
::java::awt::Color * caretColor;
::java::awt::Color * disabledTextColor;
::java::awt::Color * selectedTextColor;
::java::awt::Color * selectionColor;
::java::awt::Insets * margin;
jboolean dragEnabled;
public:
static ::java::lang::Class class$;
};
#endif // __javax_swing_text_JTextComponent__
|