1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_table_DefaultTableModel__
|
5 |
|
|
#define __javax_swing_table_DefaultTableModel__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <javax/swing/table/AbstractTableModel.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace javax
|
15 |
|
|
{
|
16 |
|
|
namespace swing
|
17 |
|
|
{
|
18 |
|
|
namespace event
|
19 |
|
|
{
|
20 |
|
|
class TableModelEvent;
|
21 |
|
|
}
|
22 |
|
|
namespace table
|
23 |
|
|
{
|
24 |
|
|
class DefaultTableModel;
|
25 |
|
|
}
|
26 |
|
|
}
|
27 |
|
|
}
|
28 |
|
|
}
|
29 |
|
|
|
30 |
|
|
class javax::swing::table::DefaultTableModel : public ::javax::swing::table::AbstractTableModel
|
31 |
|
|
{
|
32 |
|
|
|
33 |
|
|
public:
|
34 |
|
|
DefaultTableModel();
|
35 |
|
|
DefaultTableModel(jint, jint);
|
36 |
|
|
DefaultTableModel(::java::util::Vector *, jint);
|
37 |
|
|
DefaultTableModel(JArray< ::java::lang::Object * > *, jint);
|
38 |
|
|
DefaultTableModel(::java::util::Vector *, ::java::util::Vector *);
|
39 |
|
|
DefaultTableModel(JArray< JArray< ::java::lang::Object * > * > *, JArray< ::java::lang::Object * > *);
|
40 |
|
|
virtual ::java::util::Vector * getDataVector();
|
41 |
|
|
virtual void setDataVector(::java::util::Vector *, ::java::util::Vector *);
|
42 |
|
|
virtual void setDataVector(JArray< JArray< ::java::lang::Object * > * > *, JArray< ::java::lang::Object * > *);
|
43 |
|
|
virtual void newDataAvailable(::javax::swing::event::TableModelEvent *);
|
44 |
|
|
virtual void newRowsAdded(::javax::swing::event::TableModelEvent *);
|
45 |
|
|
virtual void rowsRemoved(::javax::swing::event::TableModelEvent *);
|
46 |
|
|
virtual void setColumnIdentifiers(::java::util::Vector *);
|
47 |
|
|
virtual void setColumnIdentifiers(JArray< ::java::lang::Object * > *);
|
48 |
|
|
virtual void setNumRows(jint);
|
49 |
|
|
virtual void setRowCount(jint);
|
50 |
|
|
virtual void setColumnCount(jint);
|
51 |
|
|
virtual void addColumn(::java::lang::Object *);
|
52 |
|
|
virtual void addColumn(::java::lang::Object *, ::java::util::Vector *);
|
53 |
|
|
virtual void addColumn(::java::lang::Object *, JArray< ::java::lang::Object * > *);
|
54 |
|
|
virtual void addRow(::java::util::Vector *);
|
55 |
|
|
virtual void addRow(JArray< ::java::lang::Object * > *);
|
56 |
|
|
virtual void insertRow(jint, ::java::util::Vector *);
|
57 |
|
|
virtual void insertRow(jint, JArray< ::java::lang::Object * > *);
|
58 |
|
|
virtual void moveRow(jint, jint, jint);
|
59 |
|
|
virtual void removeRow(jint);
|
60 |
|
|
virtual jint getRowCount();
|
61 |
|
|
virtual jint getColumnCount();
|
62 |
|
|
virtual ::java::lang::String * getColumnName(jint);
|
63 |
|
|
virtual jboolean isCellEditable(jint, jint);
|
64 |
|
|
virtual ::java::lang::Object * getValueAt(jint, jint);
|
65 |
|
|
virtual void setValueAt(::java::lang::Object *, jint, jint);
|
66 |
|
|
public: // actually protected
|
67 |
|
|
static ::java::util::Vector * convertToVector(JArray< ::java::lang::Object * > *);
|
68 |
|
|
static ::java::util::Vector * convertToVector(JArray< JArray< ::java::lang::Object * > * > *);
|
69 |
|
|
private:
|
70 |
|
|
void addExtraRows(jint, jint);
|
71 |
|
|
void checkSize();
|
72 |
|
|
public: // actually package-private
|
73 |
|
|
static const jlong serialVersionUID = 6680042567037222321LL;
|
74 |
|
|
public: // actually protected
|
75 |
|
|
::java::util::Vector * __attribute__((aligned(__alignof__( ::javax::swing::table::AbstractTableModel)))) dataVector;
|
76 |
|
|
::java::util::Vector * columnIdentifiers;
|
77 |
|
|
public:
|
78 |
|
|
static ::java::lang::Class class$;
|
79 |
|
|
};
|
80 |
|
|
|
81 |
|
|
#endif // __javax_swing_table_DefaultTableModel__
|