JScrollPane.h 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_JScrollPane__
  3. #define __javax_swing_JScrollPane__
  4. #pragma interface
  5. #include <javax/swing/JComponent.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class Component;
  13. class ComponentOrientation;
  14. class LayoutManager;
  15. class Rectangle;
  16. }
  17. }
  18. namespace javax
  19. {
  20. namespace accessibility
  21. {
  22. class AccessibleContext;
  23. }
  24. namespace swing
  25. {
  26. class JScrollBar;
  27. class JScrollPane;
  28. class JViewport;
  29. namespace border
  30. {
  31. class Border;
  32. }
  33. namespace plaf
  34. {
  35. class ScrollPaneUI;
  36. }
  37. }
  38. }
  39. }
  40. class javax::swing::JScrollPane : public ::javax::swing::JComponent
  41. {
  42. public:
  43. virtual ::javax::swing::JViewport * getColumnHeader();
  44. virtual ::java::awt::Component * getCorner(::java::lang::String *);
  45. virtual ::javax::swing::JScrollBar * getHorizontalScrollBar();
  46. virtual jint getHorizontalScrollBarPolicy();
  47. virtual ::javax::swing::JViewport * getRowHeader();
  48. virtual ::javax::swing::JScrollBar * getVerticalScrollBar();
  49. virtual jint getVerticalScrollBarPolicy();
  50. virtual ::javax::swing::JViewport * getViewport();
  51. virtual ::javax::swing::border::Border * getViewportBorder();
  52. virtual ::java::awt::Rectangle * getViewportBorderBounds();
  53. virtual jboolean isWheelScrollingEnabled();
  54. private:
  55. void sync();
  56. void removeNonNull(::java::awt::Component *);
  57. void addNonNull(::java::awt::Component *, ::java::lang::Object *);
  58. public:
  59. virtual void setComponentOrientation(::java::awt::ComponentOrientation *);
  60. virtual void setColumnHeader(::javax::swing::JViewport *);
  61. virtual void setColumnHeaderView(::java::awt::Component *);
  62. virtual void setCorner(::java::lang::String *, ::java::awt::Component *);
  63. virtual void setHorizontalScrollBar(::javax::swing::JScrollBar *);
  64. virtual void setHorizontalScrollBarPolicy(jint);
  65. virtual void setLayout(::java::awt::LayoutManager *);
  66. virtual void setRowHeader(::javax::swing::JViewport *);
  67. virtual void setRowHeaderView(::java::awt::Component *);
  68. virtual void setVerticalScrollBar(::javax::swing::JScrollBar *);
  69. virtual void setVerticalScrollBarPolicy(jint);
  70. virtual void setWheelScrollingEnabled(jboolean);
  71. virtual void setViewport(::javax::swing::JViewport *);
  72. virtual void setViewportBorder(::javax::swing::border::Border *);
  73. virtual void setViewportView(::java::awt::Component *);
  74. virtual jboolean isValidateRoot();
  75. JScrollPane();
  76. JScrollPane(::java::awt::Component *);
  77. JScrollPane(jint, jint);
  78. JScrollPane(::java::awt::Component *, jint, jint);
  79. virtual ::javax::swing::JScrollBar * createHorizontalScrollBar();
  80. virtual ::javax::swing::JScrollBar * createVerticalScrollBar();
  81. public: // actually protected
  82. virtual ::javax::swing::JViewport * createViewport();
  83. public:
  84. virtual ::java::lang::String * getUIClassID();
  85. virtual void updateUI();
  86. virtual ::javax::swing::plaf::ScrollPaneUI * getUI();
  87. virtual void setUI(::javax::swing::plaf::ScrollPaneUI *);
  88. virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
  89. private:
  90. static const jlong serialVersionUID = 5203525440012340014LL;
  91. public: // actually protected
  92. ::javax::swing::JViewport * __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) columnHeader;
  93. ::javax::swing::JViewport * rowHeader;
  94. ::java::awt::Component * lowerLeft;
  95. ::java::awt::Component * lowerRight;
  96. ::java::awt::Component * upperLeft;
  97. ::java::awt::Component * upperRight;
  98. ::javax::swing::JScrollBar * horizontalScrollBar;
  99. jint horizontalScrollBarPolicy;
  100. ::javax::swing::JScrollBar * verticalScrollBar;
  101. jint verticalScrollBarPolicy;
  102. ::javax::swing::JViewport * viewport;
  103. private:
  104. ::javax::swing::border::Border * viewportBorder;
  105. jboolean wheelScrollingEnabled;
  106. public:
  107. static ::java::lang::Class class$;
  108. };
  109. #endif // __javax_swing_JScrollPane__