summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/table/DefaultTableModel.h
blob: a5f3bd4eca8e8fb76a264692ac94bb46bd6a31f8 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_table_DefaultTableModel__
#define __javax_swing_table_DefaultTableModel__

#pragma interface

#include <javax/swing/table/AbstractTableModel.h>
#include <gcj/array.h>

extern "Java"
{
  namespace javax
  {
    namespace swing
    {
      namespace event
      {
          class TableModelEvent;
      }
      namespace table
      {
          class DefaultTableModel;
      }
    }
  }
}

class javax::swing::table::DefaultTableModel : public ::javax::swing::table::AbstractTableModel
{

public:
  DefaultTableModel();
  DefaultTableModel(jint, jint);
  DefaultTableModel(::java::util::Vector *, jint);
  DefaultTableModel(JArray< ::java::lang::Object * > *, jint);
  DefaultTableModel(::java::util::Vector *, ::java::util::Vector *);
  DefaultTableModel(JArray< JArray< ::java::lang::Object * > * > *, JArray< ::java::lang::Object * > *);
  virtual ::java::util::Vector * getDataVector();
  virtual void setDataVector(::java::util::Vector *, ::java::util::Vector *);
  virtual void setDataVector(JArray< JArray< ::java::lang::Object * > * > *, JArray< ::java::lang::Object * > *);
  virtual void newDataAvailable(::javax::swing::event::TableModelEvent *);
  virtual void newRowsAdded(::javax::swing::event::TableModelEvent *);
  virtual void rowsRemoved(::javax::swing::event::TableModelEvent *);
  virtual void setColumnIdentifiers(::java::util::Vector *);
  virtual void setColumnIdentifiers(JArray< ::java::lang::Object * > *);
  virtual void setNumRows(jint);
  virtual void setRowCount(jint);
  virtual void setColumnCount(jint);
  virtual void addColumn(::java::lang::Object *);
  virtual void addColumn(::java::lang::Object *, ::java::util::Vector *);
  virtual void addColumn(::java::lang::Object *, JArray< ::java::lang::Object * > *);
  virtual void addRow(::java::util::Vector *);
  virtual void addRow(JArray< ::java::lang::Object * > *);
  virtual void insertRow(jint, ::java::util::Vector *);
  virtual void insertRow(jint, JArray< ::java::lang::Object * > *);
  virtual void moveRow(jint, jint, jint);
  virtual void removeRow(jint);
  virtual jint getRowCount();
  virtual jint getColumnCount();
  virtual ::java::lang::String * getColumnName(jint);
  virtual jboolean isCellEditable(jint, jint);
  virtual ::java::lang::Object * getValueAt(jint, jint);
  virtual void setValueAt(::java::lang::Object *, jint, jint);
public: // actually protected
  static ::java::util::Vector * convertToVector(JArray< ::java::lang::Object * > *);
  static ::java::util::Vector * convertToVector(JArray< JArray< ::java::lang::Object * > * > *);
private:
  void addExtraRows(jint, jint);
  void checkSize();
public: // actually package-private
  static const jlong serialVersionUID = 6680042567037222321LL;
public: // actually protected
  ::java::util::Vector * __attribute__((aligned(__alignof__( ::javax::swing::table::AbstractTableModel)))) dataVector;
  ::java::util::Vector * columnIdentifiers;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_table_DefaultTableModel__