DefaultTableModel.h 3.0 KB

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