TableColumn.h 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_table_TableColumn__
  3. #define __javax_swing_table_TableColumn__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace beans
  12. {
  13. class PropertyChangeListener;
  14. }
  15. }
  16. namespace javax
  17. {
  18. namespace swing
  19. {
  20. namespace event
  21. {
  22. class SwingPropertyChangeSupport;
  23. }
  24. namespace table
  25. {
  26. class TableCellEditor;
  27. class TableCellRenderer;
  28. class TableColumn;
  29. }
  30. }
  31. }
  32. }
  33. class javax::swing::table::TableColumn : public ::java::lang::Object
  34. {
  35. public:
  36. TableColumn();
  37. TableColumn(jint);
  38. TableColumn(jint, jint);
  39. TableColumn(jint, jint, ::javax::swing::table::TableCellRenderer *, ::javax::swing::table::TableCellEditor *);
  40. virtual void setModelIndex(jint);
  41. virtual jint getModelIndex();
  42. virtual void setIdentifier(::java::lang::Object *);
  43. virtual ::java::lang::Object * getIdentifier();
  44. virtual void setHeaderValue(::java::lang::Object *);
  45. virtual ::java::lang::Object * getHeaderValue();
  46. virtual void setHeaderRenderer(::javax::swing::table::TableCellRenderer *);
  47. virtual ::javax::swing::table::TableCellRenderer * getHeaderRenderer();
  48. virtual void setCellRenderer(::javax::swing::table::TableCellRenderer *);
  49. virtual ::javax::swing::table::TableCellRenderer * getCellRenderer();
  50. virtual void setCellEditor(::javax::swing::table::TableCellEditor *);
  51. virtual ::javax::swing::table::TableCellEditor * getCellEditor();
  52. virtual void setWidth(jint);
  53. virtual jint getWidth();
  54. virtual void setPreferredWidth(jint);
  55. virtual jint getPreferredWidth();
  56. virtual void setMinWidth(jint);
  57. virtual jint getMinWidth();
  58. virtual void setMaxWidth(jint);
  59. virtual jint getMaxWidth();
  60. virtual void setResizable(jboolean);
  61. virtual jboolean getResizable();
  62. virtual void sizeWidthToFit();
  63. virtual void disableResizedPosting();
  64. virtual void enableResizedPosting();
  65. virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *);
  66. virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *);
  67. virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners();
  68. public: // actually protected
  69. virtual ::javax::swing::table::TableCellRenderer * createDefaultHeaderRenderer();
  70. public: // actually package-private
  71. static const jlong serialVersionUID = -6113660025878112608LL;
  72. public:
  73. static ::java::lang::String * COLUMN_WIDTH_PROPERTY;
  74. static ::java::lang::String * HEADER_VALUE_PROPERTY;
  75. static ::java::lang::String * HEADER_RENDERER_PROPERTY;
  76. static ::java::lang::String * CELL_RENDERER_PROPERTY;
  77. public: // actually protected
  78. jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) modelIndex;
  79. ::java::lang::Object * identifier;
  80. jint width;
  81. jint minWidth;
  82. private:
  83. jint preferredWidth;
  84. public: // actually protected
  85. jint maxWidth;
  86. ::javax::swing::table::TableCellRenderer * headerRenderer;
  87. ::java::lang::Object * headerValue;
  88. ::javax::swing::table::TableCellRenderer * cellRenderer;
  89. ::javax::swing::table::TableCellEditor * cellEditor;
  90. jboolean isResizable;
  91. jint resizedPostingDisableCount;
  92. private:
  93. ::javax::swing::event::SwingPropertyChangeSupport * changeSupport;
  94. public:
  95. static ::java::lang::Class class$;
  96. };
  97. #endif // __javax_swing_table_TableColumn__