TableView.h 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_text_TableView__
  3. #define __javax_swing_text_TableView__
  4. #pragma interface
  5. #include <javax/swing/text/BoxView.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace awt
  12. {
  13. class Rectangle;
  14. class Shape;
  15. }
  16. }
  17. namespace javax
  18. {
  19. namespace swing
  20. {
  21. class SizeRequirements;
  22. namespace event
  23. {
  24. class DocumentEvent;
  25. class DocumentEvent$ElementChange;
  26. }
  27. namespace text
  28. {
  29. class Element;
  30. class TableView;
  31. class TableView$TableCell;
  32. class TableView$TableRow;
  33. class View;
  34. class ViewFactory;
  35. }
  36. }
  37. }
  38. }
  39. class javax::swing::text::TableView : public ::javax::swing::text::BoxView
  40. {
  41. public:
  42. TableView(::javax::swing::text::Element *);
  43. virtual void replace(jint, jint, JArray< ::javax::swing::text::View * > *);
  44. public: // actually protected
  45. virtual ::javax::swing::text::TableView$TableRow * createTableRow(::javax::swing::text::Element *);
  46. virtual ::javax::swing::text::TableView$TableCell * createTableCell(::javax::swing::text::Element *);
  47. virtual void forwardUpdate(::javax::swing::event::DocumentEvent$ElementChange *, ::javax::swing::event::DocumentEvent *, ::java::awt::Shape *, ::javax::swing::text::ViewFactory *);
  48. virtual void layoutColumns(jint, JArray< jint > *, JArray< jint > *, JArray< ::javax::swing::SizeRequirements * > *);
  49. virtual void layoutMinorAxis(jint, jint, JArray< jint > *, JArray< jint > *);
  50. virtual ::javax::swing::SizeRequirements * calculateMinorAxisRequirements(jint, ::javax::swing::SizeRequirements *);
  51. virtual ::javax::swing::text::View * getViewAtPosition(jint, ::java::awt::Rectangle *);
  52. private:
  53. void updateColumnRequirements();
  54. public: // actually package-private
  55. JArray< jint > * __attribute__((aligned(__alignof__( ::javax::swing::text::BoxView)))) columnOffsets;
  56. JArray< jint > * columnSpans;
  57. JArray< ::javax::swing::SizeRequirements * > * columnRequirements;
  58. public:
  59. static ::java::lang::Class class$;
  60. };
  61. #endif // __javax_swing_text_TableView__