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
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
#ifndef __javax_swing_JTable__
#define __javax_swing_JTable__
#pragma interface
#include <javax/swing/JComponent.h>
#include <gcj/array.h>
extern "Java"
{
namespace java
{
namespace awt
{
class Color;
class Component;
class Dimension;
class Point;
class Rectangle;
}
}
namespace javax
{
namespace accessibility
{
class AccessibleContext;
}
namespace swing
{
class JScrollPane;
class JTable;
class JTable$TableColumnPropertyChangeHandler;
class ListSelectionModel;
class SizeSequence;
namespace event
{
class ChangeEvent;
class ListSelectionEvent;
class TableColumnModelEvent;
class TableModelEvent;
}
namespace plaf
{
class TableUI;
}
namespace table
{
class JTableHeader;
class TableCellEditor;
class TableCellRenderer;
class TableColumn;
class TableColumnModel;
class TableModel;
}
}
}
}
class javax::swing::JTable : public ::javax::swing::JComponent
{
public:
JTable();
JTable(jint, jint);
JTable(JArray< JArray< ::java::lang::Object * > * > *, JArray< ::java::lang::Object * > *);
JTable(::javax::swing::table::TableModel *);
JTable(::javax::swing::table::TableModel *, ::javax::swing::table::TableColumnModel *);
JTable(::javax::swing::table::TableModel *, ::javax::swing::table::TableColumnModel *, ::javax::swing::ListSelectionModel *);
JTable(::java::util::Vector *, ::java::util::Vector *);
public: // actually protected
virtual void initializeLocalVars();
public:
virtual void addColumn(::javax::swing::table::TableColumn *);
public: // actually protected
virtual void createDefaultEditors();
virtual void createDefaultRenderers();
public:
static ::javax::swing::JScrollPane * createScrollPaneForTable(::javax::swing::JTable *);
public: // actually protected
virtual ::javax::swing::table::TableColumnModel * createDefaultColumnModel();
virtual ::javax::swing::table::TableModel * createDefaultDataModel();
virtual ::javax::swing::ListSelectionModel * createDefaultSelectionModel();
virtual ::javax::swing::table::JTableHeader * createDefaultTableHeader();
public:
virtual void columnAdded(::javax::swing::event::TableColumnModelEvent *);
virtual void columnMarginChanged(::javax::swing::event::ChangeEvent *);
virtual void columnMoved(::javax::swing::event::TableColumnModelEvent *);
virtual void columnRemoved(::javax::swing::event::TableColumnModelEvent *);
virtual void columnSelectionChanged(::javax::swing::event::ListSelectionEvent *);
virtual void editingCanceled(::javax::swing::event::ChangeEvent *);
virtual void editingStopped(::javax::swing::event::ChangeEvent *);
virtual void tableChanged(::javax::swing::event::TableModelEvent *);
private:
void handleCompleteChange(::javax::swing::event::TableModelEvent *);
void handleInsert(::javax::swing::event::TableModelEvent *);
void handleDelete(::javax::swing::event::TableModelEvent *);
void handleUpdate(::javax::swing::event::TableModelEvent *);
void checkSelection();
public:
virtual void valueChanged(::javax::swing::event::ListSelectionEvent *);
virtual jint columnAtPoint(::java::awt::Point *);
virtual jint rowAtPoint(::java::awt::Point *);
virtual ::java::awt::Rectangle * getCellRect(jint, jint, jboolean);
virtual void clearSelection();
virtual jint getSelectedRow();
virtual ::javax::swing::ListSelectionModel * getSelectionModel();
virtual jint getScrollableBlockIncrement(::java::awt::Rectangle *, jint, jint);
virtual jboolean getScrollableTracksViewportHeight();
virtual jboolean getScrollableTracksViewportWidth();
virtual jint getScrollableUnitIncrement(::java::awt::Rectangle *, jint, jint);
virtual ::javax::swing::table::TableCellEditor * getCellEditor(jint, jint);
virtual ::javax::swing::table::TableCellEditor * getDefaultEditor(::java::lang::Class *);
virtual ::javax::swing::table::TableCellRenderer * getCellRenderer(jint, jint);
virtual void setDefaultRenderer(::java::lang::Class *, ::javax::swing::table::TableCellRenderer *);
virtual ::javax::swing::table::TableCellRenderer * getDefaultRenderer(::java::lang::Class *);
virtual jint convertColumnIndexToModel(jint);
virtual jint convertColumnIndexToView(jint);
virtual ::java::awt::Component * prepareRenderer(::javax::swing::table::TableCellRenderer *, jint, jint);
virtual jboolean getAutoCreateColumnsFromModel();
virtual jint getAutoResizeMode();
virtual jint getRowHeight();
virtual jint getRowHeight(jint);
virtual jint getRowMargin();
virtual jboolean getRowSelectionAllowed();
virtual jboolean getCellSelectionEnabled();
virtual ::javax::swing::table::TableModel * getModel();
virtual jint getColumnCount();
virtual jint getRowCount();
virtual ::javax::swing::table::TableColumnModel * getColumnModel();
virtual jint getSelectedColumn();
private:
static jint countSelections(::javax::swing::ListSelectionModel *);
static JArray< jint > * getSelections(::javax::swing::ListSelectionModel *);
public:
virtual jint getSelectedColumnCount();
virtual JArray< jint > * getSelectedColumns();
virtual jboolean getColumnSelectionAllowed();
virtual jint getSelectedRowCount();
virtual JArray< jint > * getSelectedRows();
virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
virtual ::javax::swing::table::TableCellEditor * getCellEditor();
virtual jboolean getDragEnabled();
virtual ::java::awt::Color * getGridColor();
virtual ::java::awt::Dimension * getIntercellSpacing();
virtual ::java::awt::Dimension * getPreferredScrollableViewportSize();
virtual ::java::awt::Color * getSelectionBackground();
virtual ::java::awt::Color * getSelectionForeground();
virtual jboolean getShowHorizontalLines();
virtual jboolean getShowVerticalLines();
virtual ::javax::swing::table::JTableHeader * getTableHeader();
virtual void removeColumn(::javax::swing::table::TableColumn *);
virtual void moveColumn(jint, jint);
virtual void setAutoCreateColumnsFromModel(jboolean);
virtual void setAutoResizeMode(jint);
virtual void setRowHeight(jint);
virtual void setRowHeight(jint, jint);
virtual void setRowMargin(jint);
virtual void setRowSelectionAllowed(jboolean);
virtual void setCellSelectionEnabled(jboolean);
virtual void setModel(::javax::swing::table::TableModel *);
virtual void setColumnModel(::javax::swing::table::TableColumnModel *);
virtual void setColumnSelectionAllowed(jboolean);
virtual void setSelectionModel(::javax::swing::ListSelectionModel *);
virtual void setSelectionMode(jint);
virtual void setCellEditor(::javax::swing::table::TableCellEditor *);
virtual void setDragEnabled(jboolean);
virtual void setGridColor(::java::awt::Color *);
virtual void setIntercellSpacing(::java::awt::Dimension *);
virtual void setPreferredScrollableViewportSize(::java::awt::Dimension *);
virtual void setSelectionBackground(::java::awt::Color *);
virtual void setSelectionForeground(::java::awt::Color *);
virtual void setShowGrid(jboolean);
virtual void setShowHorizontalLines(jboolean);
virtual void setShowVerticalLines(jboolean);
virtual void setTableHeader(::javax::swing::table::JTableHeader *);
public: // actually protected
virtual void configureEnclosingScrollPane();
virtual void unconfigureEnclosingScrollPane();
public:
virtual void addNotify();
virtual void removeNotify();
private:
void distributeSpill(JArray< ::javax::swing::table::TableColumn * > *, jint);
void distributeSpillResizing(JArray< ::javax::swing::table::TableColumn * > *, jint, ::javax::swing::table::TableColumn *);
public:
virtual void doLayout();
public: // actually package-private
virtual jint getLeftResizingBoundary();
public:
virtual void sizeColumnsToFit(jboolean);
virtual void sizeColumnsToFit(jint);
virtual ::java::lang::String * getUIClassID();
virtual ::javax::swing::plaf::TableUI * getUI();
virtual void setUI(::javax::swing::plaf::TableUI *);
virtual void updateUI();
virtual ::java::lang::Class * getColumnClass(jint);
virtual ::java::lang::String * getColumnName(jint);
virtual jint getEditingColumn();
virtual void setEditingColumn(jint);
virtual jint getEditingRow();
virtual void setEditingRow(jint);
virtual ::java::awt::Component * getEditorComponent();
virtual jboolean isEditing();
virtual void setDefaultEditor(::java::lang::Class *, ::javax::swing::table::TableCellEditor *);
virtual void addColumnSelectionInterval(jint, jint);
virtual void addRowSelectionInterval(jint, jint);
virtual void setColumnSelectionInterval(jint, jint);
virtual void setRowSelectionInterval(jint, jint);
virtual void removeColumnSelectionInterval(jint, jint);
virtual void removeRowSelectionInterval(jint, jint);
virtual jboolean isColumnSelected(jint);
virtual jboolean isRowSelected(jint);
virtual jboolean isCellSelected(jint, jint);
virtual void selectAll();
virtual ::java::lang::Object * getValueAt(jint, jint);
virtual void setValueAt(::java::lang::Object *, jint, jint);
virtual ::javax::swing::table::TableColumn * getColumn(::java::lang::Object *);
virtual jboolean isCellEditable(jint, jint);
virtual void createDefaultColumnsFromModel();
virtual void changeSelection(jint, jint, jboolean, jboolean);
virtual jboolean editCellAt(jint, jint);
private:
void moveToCellBeingEdited(::java::awt::Component *);
public:
virtual jboolean editCellAt(jint, jint, ::java::util::EventObject *);
virtual void removeEditor();
virtual ::java::awt::Component * prepareEditor(::javax::swing::table::TableCellEditor *, jint, jint);
public: // actually protected
virtual void resizeAndRepaint();
public:
virtual void setSurrendersFocusOnKeystroke(jboolean);
virtual jboolean getSurrendersFocusOnKeystroke();
public: // actually package-private
virtual void setUIProperty(::java::lang::String *, ::java::lang::Object *);
private:
static const jlong serialVersionUID = 3876025080382781659LL;
public: // actually package-private
::javax::swing::JTable * __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) this_table;
public:
static const jint AUTO_RESIZE_OFF = 0;
static const jint AUTO_RESIZE_NEXT_COLUMN = 1;
static const jint AUTO_RESIZE_SUBSEQUENT_COLUMNS = 2;
static const jint AUTO_RESIZE_ALL_COLUMNS = 4;
static const jint AUTO_RESIZE_LAST_COLUMN = 3;
public: // actually protected
::java::util::Hashtable * defaultEditorsByColumnClass;
::java::util::Hashtable * defaultRenderersByColumnClass;
jint editingColumn;
jint editingRow;
::java::awt::Component * editorComp;
jboolean autoCreateColumnsFromModel;
jint autoResizeMode;
jint rowHeight;
jint rowMargin;
jboolean rowSelectionAllowed;
jboolean cellSelectionEnabled;
::javax::swing::table::TableModel * dataModel;
::javax::swing::table::TableColumnModel * columnModel;
::javax::swing::ListSelectionModel * selectionModel;
::javax::swing::table::TableCellEditor * cellEditor;
private:
jboolean dragEnabled;
public: // actually protected
::java::awt::Color * gridColor;
::java::awt::Dimension * preferredViewportSize;
::java::awt::Color * selectionBackground;
private:
static ::java::lang::String * SELECTION_BACKGROUND_CHANGED_PROPERTY;
public: // actually protected
::java::awt::Color * selectionForeground;
private:
static ::java::lang::String * SELECTION_FOREGROUND_CHANGED_PROPERTY;
public: // actually protected
jboolean showHorizontalLines;
jboolean showVerticalLines;
::javax::swing::table::JTableHeader * tableHeader;
public: // actually package-private
::javax::swing::JTable$TableColumnPropertyChangeHandler * tableColumnPropertyChangeHandler;
private:
jboolean surrendersFocusOnKeystroke;
::java::awt::Rectangle * rectCache;
jboolean clientRowHeightSet;
::javax::swing::SizeSequence * rowHeights;
::javax::swing::table::TableCellEditor * booleanInvertingEditor;
public: // actually package-private
static jboolean $assertionsDisabled;
public:
static ::java::lang::Class class$;
};
#endif // __javax_swing_JTable__
|