ScrollPaneLayout.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_ScrollPaneLayout__
  3. #define __javax_swing_ScrollPaneLayout__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class Component;
  13. class Container;
  14. class Dimension;
  15. class Rectangle;
  16. }
  17. }
  18. namespace javax
  19. {
  20. namespace swing
  21. {
  22. class JScrollBar;
  23. class JScrollPane;
  24. class JViewport;
  25. class ScrollPaneLayout;
  26. }
  27. }
  28. }
  29. class javax::swing::ScrollPaneLayout : public ::java::lang::Object
  30. {
  31. public:
  32. ScrollPaneLayout();
  33. virtual void syncWithScrollPane(::javax::swing::JScrollPane *);
  34. public: // actually protected
  35. virtual ::java::awt::Component * addSingletonComponent(::java::awt::Component *, ::java::awt::Component *);
  36. public:
  37. virtual void addLayoutComponent(::java::lang::String *, ::java::awt::Component *);
  38. virtual void removeLayoutComponent(::java::awt::Component *);
  39. virtual jint getVerticalScrollBarPolicy();
  40. virtual void setVerticalScrollBarPolicy(jint);
  41. virtual jint getHorizontalScrollBarPolicy();
  42. virtual void setHorizontalScrollBarPolicy(jint);
  43. virtual ::javax::swing::JViewport * getViewport();
  44. virtual ::javax::swing::JScrollBar * getHorizontalScrollBar();
  45. virtual ::javax::swing::JScrollBar * getVerticalScrollBar();
  46. virtual ::javax::swing::JViewport * getRowHeader();
  47. virtual ::javax::swing::JViewport * getColumnHeader();
  48. virtual ::java::awt::Component * getCorner(::java::lang::String *);
  49. virtual ::java::awt::Dimension * preferredLayoutSize(::java::awt::Container *);
  50. virtual ::java::awt::Dimension * minimumLayoutSize(::java::awt::Container *);
  51. virtual void layoutContainer(::java::awt::Container *);
  52. virtual ::java::awt::Rectangle * getViewportBorderBounds(::javax::swing::JScrollPane *);
  53. private:
  54. static const jlong serialVersionUID = -4480022884523193743LL;
  55. public: // actually protected
  56. ::javax::swing::JViewport * __attribute__((aligned(__alignof__( ::java::lang::Object)))) viewport;
  57. ::javax::swing::JScrollBar * vsb;
  58. ::javax::swing::JScrollBar * hsb;
  59. ::javax::swing::JViewport * rowHead;
  60. ::javax::swing::JViewport * colHead;
  61. ::java::awt::Component * lowerLeft;
  62. ::java::awt::Component * lowerRight;
  63. ::java::awt::Component * upperLeft;
  64. ::java::awt::Component * upperRight;
  65. jint vsbPolicy;
  66. jint hsbPolicy;
  67. public:
  68. static ::java::lang::Class class$;
  69. };
  70. #endif // __javax_swing_ScrollPaneLayout__