blob: 82cf58823fdf14b6943577fcd0082357d592efa1 (
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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __javax_swing_AbstractButton__
#define __javax_swing_AbstractButton__
#pragma interface
#include <javax/swing/JComponent.h>
#include <gcj/array.h>
extern "Java"
{
namespace java
{
namespace awt
{
class Component;
class Graphics;
class Image;
class Insets;
class LayoutManager;
namespace event
{
class ActionEvent;
class ActionListener;
class ItemEvent;
class ItemListener;
}
}
namespace beans
{
class PropertyChangeListener;
}
}
namespace javax
{
namespace swing
{
class AbstractButton;
class AbstractButton$EventHandler;
class Action;
class ButtonModel;
class Icon;
namespace event
{
class ChangeEvent;
class ChangeListener;
}
namespace plaf
{
class ButtonUI;
}
}
}
}
class javax::swing::AbstractButton : public ::javax::swing::JComponent
{
public:
AbstractButton();
virtual ::javax::swing::ButtonModel * getModel();
virtual void setModel(::javax::swing::ButtonModel *);
public: // actually protected
virtual void init(::java::lang::String *, ::javax::swing::Icon *);
public:
virtual ::java::lang::String * getActionCommand();
virtual void setActionCommand(::java::lang::String *);
virtual void addActionListener(::java::awt::event::ActionListener *);
virtual void removeActionListener(::java::awt::event::ActionListener *);
virtual JArray< ::java::awt::event::ActionListener * > * getActionListeners();
virtual void addItemListener(::java::awt::event::ItemListener *);
virtual void removeItemListener(::java::awt::event::ItemListener *);
virtual JArray< ::java::awt::event::ItemListener * > * getItemListeners();
virtual void addChangeListener(::javax::swing::event::ChangeListener *);
virtual void removeChangeListener(::javax::swing::event::ChangeListener *);
virtual JArray< ::javax::swing::event::ChangeListener * > * getChangeListeners();
public: // actually protected
virtual void fireItemStateChanged(::java::awt::event::ItemEvent *);
virtual void fireActionPerformed(::java::awt::event::ActionEvent *);
virtual void fireStateChanged();
public:
virtual jint getMnemonic();
virtual void setMnemonic(jchar);
virtual void setMnemonic(jint);
virtual void setDisplayedMnemonicIndex(jint);
virtual jint getDisplayedMnemonicIndex();
virtual void setRolloverEnabled(jboolean);
virtual jboolean isRolloverEnabled();
virtual void setSelected(jboolean);
virtual jboolean isSelected();
virtual void setEnabled(jboolean);
virtual jint getHorizontalAlignment();
virtual void setHorizontalAlignment(jint);
virtual jint getHorizontalTextPosition();
virtual void setHorizontalTextPosition(jint);
virtual jint getVerticalAlignment();
virtual void setVerticalAlignment(jint);
virtual jint getVerticalTextPosition();
virtual void setVerticalTextPosition(jint);
virtual jboolean isBorderPainted();
virtual void setBorderPainted(jboolean);
virtual ::javax::swing::Action * getAction();
virtual void setAction(::javax::swing::Action *);
virtual ::javax::swing::Icon * getIcon();
virtual void setIcon(::javax::swing::Icon *);
virtual ::java::lang::String * getText();
virtual void setLabel(::java::lang::String *);
virtual ::java::lang::String * getLabel();
virtual void setText(::java::lang::String *);
virtual void setIconTextGap(jint);
virtual jint getIconTextGap();
virtual ::java::awt::Insets * getMargin();
virtual void setMargin(::java::awt::Insets *);
virtual ::javax::swing::Icon * getPressedIcon();
virtual void setPressedIcon(::javax::swing::Icon *);
virtual ::javax::swing::Icon * getDisabledIcon();
virtual void setDisabledIcon(::javax::swing::Icon *);
virtual jboolean isFocusPainted();
virtual void setFocusPainted(jboolean);
public: // actually protected
virtual jint checkHorizontalKey(jint, ::java::lang::String *);
virtual jint checkVerticalKey(jint, ::java::lang::String *);
virtual void configurePropertiesFromAction(::javax::swing::Action *);
virtual ::java::awt::event::ActionListener * createActionListener();
virtual ::java::beans::PropertyChangeListener * createActionPropertyChangeListener(::javax::swing::Action *);
virtual ::javax::swing::event::ChangeListener * createChangeListener();
virtual ::java::awt::event::ItemListener * createItemListener();
public:
virtual void doClick();
virtual void doClick(jint);
virtual ::javax::swing::Icon * getDisabledSelectedIcon();
virtual void setDisabledSelectedIcon(::javax::swing::Icon *);
virtual ::javax::swing::Icon * getRolloverIcon();
virtual void setRolloverIcon(::javax::swing::Icon *);
virtual ::javax::swing::Icon * getRolloverSelectedIcon();
virtual void setRolloverSelectedIcon(::javax::swing::Icon *);
virtual ::javax::swing::Icon * getSelectedIcon();
virtual void setSelectedIcon(::javax::swing::Icon *);
virtual JArray< ::java::lang::Object * > * getSelectedObjects();
virtual jboolean imageUpdate(::java::awt::Image *, jint, jint, jint, jint, jint);
virtual jboolean isContentAreaFilled();
virtual void setContentAreaFilled(jboolean);
public: // actually protected
virtual void paintBorder(::java::awt::Graphics *);
virtual ::java::lang::String * paramString();
public:
virtual void setUI(::javax::swing::plaf::ButtonUI *);
virtual ::javax::swing::plaf::ButtonUI * getUI();
virtual void updateUI();
virtual jlong getMultiClickThreshhold();
virtual void setMultiClickThreshhold(jlong);
public: // actually protected
virtual void addImpl(::java::awt::Component *, ::java::lang::Object *, jint);
public:
virtual void setLayout(::java::awt::LayoutManager *);
public: // actually package-private
virtual void setUIProperty(::java::lang::String *, ::java::lang::Object *);
virtual ::javax::swing::AbstractButton$EventHandler * getEventHandler();
private:
static const jlong serialVersionUID = -937921345538462020LL;
public: // actually package-private
::javax::swing::Icon * __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) default_icon;
::javax::swing::Icon * pressed_icon;
::javax::swing::Icon * disabledIcon;
::javax::swing::Icon * selectedIcon;
::javax::swing::Icon * disabledSelectedIcon;
::javax::swing::Icon * rolloverIcon;
::javax::swing::Icon * rolloverSelectedIcon;
::javax::swing::Icon * current_icon;
::java::lang::String * text;
jint iconTextGap;
jint verticalAlignment;
jint horizontalAlignment;
jint horizontalTextPosition;
jint verticalTextPosition;
jboolean borderPainted;
jboolean focusPainted;
jboolean contentAreaFilled;
jboolean rollOverEnabled;
::javax::swing::Action * action;
public: // actually protected
::javax::swing::ButtonModel * model;
public: // actually package-private
::java::awt::Insets * margin;
jint mnemonicIndex;
public: // actually protected
::java::awt::event::ActionListener * actionListener;
::java::awt::event::ItemListener * itemListener;
::javax::swing::event::ChangeListener * changeListener;
private:
::javax::swing::AbstractButton$EventHandler * eventHandler;
public: // actually package-private
jlong multiClickThreshhold;
::java::beans::PropertyChangeListener * actionPropertyChangeListener;
public: // actually protected
::javax::swing::event::ChangeEvent * changeEvent;
private:
jboolean clientBorderPaintedSet;
jboolean clientRolloverEnabledSet;
jboolean clientIconTextGapSet;
jboolean clientContentAreaFilledSet;
public:
static ::java::lang::String * BORDER_PAINTED_CHANGED_PROPERTY;
static ::java::lang::String * CONTENT_AREA_FILLED_CHANGED_PROPERTY;
static ::java::lang::String * DISABLED_ICON_CHANGED_PROPERTY;
static ::java::lang::String * DISABLED_SELECTED_ICON_CHANGED_PROPERTY;
static ::java::lang::String * FOCUS_PAINTED_CHANGED_PROPERTY;
static ::java::lang::String * HORIZONTAL_ALIGNMENT_CHANGED_PROPERTY;
static ::java::lang::String * HORIZONTAL_TEXT_POSITION_CHANGED_PROPERTY;
static ::java::lang::String * ICON_CHANGED_PROPERTY;
static ::java::lang::String * MARGIN_CHANGED_PROPERTY;
static ::java::lang::String * MNEMONIC_CHANGED_PROPERTY;
static ::java::lang::String * MODEL_CHANGED_PROPERTY;
static ::java::lang::String * PRESSED_ICON_CHANGED_PROPERTY;
static ::java::lang::String * ROLLOVER_ENABLED_CHANGED_PROPERTY;
static ::java::lang::String * ROLLOVER_ICON_CHANGED_PROPERTY;
static ::java::lang::String * ROLLOVER_SELECTED_ICON_CHANGED_PROPERTY;
static ::java::lang::String * SELECTED_ICON_CHANGED_PROPERTY;
static ::java::lang::String * TEXT_CHANGED_PROPERTY;
static ::java::lang::String * VERTICAL_ALIGNMENT_CHANGED_PROPERTY;
static ::java::lang::String * VERTICAL_TEXT_POSITION_CHANGED_PROPERTY;
static ::java::lang::Class class$;
};
#endif // __javax_swing_AbstractButton__
|