ScrollPane.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_awt_ScrollPane__
  3. #define __java_awt_ScrollPane__
  4. #pragma interface
  5. #include <java/awt/Container.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class Adjustable;
  13. class Component;
  14. class Dimension;
  15. class Graphics;
  16. class LayoutManager;
  17. class Point;
  18. class ScrollPane;
  19. class ScrollPaneAdjustable;
  20. }
  21. }
  22. namespace javax
  23. {
  24. namespace accessibility
  25. {
  26. class AccessibleContext;
  27. }
  28. }
  29. }
  30. class java::awt::ScrollPane : public ::java::awt::Container
  31. {
  32. public:
  33. ScrollPane();
  34. ScrollPane(jint);
  35. virtual jint getScrollbarDisplayPolicy();
  36. virtual ::java::awt::Adjustable * getHAdjustable();
  37. virtual ::java::awt::Adjustable * getVAdjustable();
  38. virtual ::java::awt::Dimension * getViewportSize();
  39. virtual jint getHScrollbarHeight();
  40. virtual jint getVScrollbarWidth();
  41. virtual ::java::awt::Point * getScrollPosition();
  42. virtual void setScrollPosition(::java::awt::Point *);
  43. virtual void setScrollPosition(jint, jint);
  44. virtual void addNotify();
  45. virtual void removeNotify();
  46. public: // actually protected
  47. virtual void addImpl(::java::awt::Component *, ::java::lang::Object *, jint);
  48. public:
  49. virtual void doLayout();
  50. virtual void layout();
  51. virtual void setLayout(::java::awt::LayoutManager *);
  52. virtual void printComponents(::java::awt::Graphics *);
  53. virtual ::java::lang::String * paramString();
  54. private:
  55. ::java::lang::String * getScrollbarDisplayPolicyString();
  56. ::java::lang::String * getIsValidString();
  57. public: // actually protected
  58. virtual jboolean eventTypeEnabled(jint);
  59. public:
  60. virtual jboolean isWheelScrollingEnabled();
  61. virtual void setWheelScrollingEnabled(jboolean);
  62. virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
  63. public: // actually package-private
  64. virtual ::java::lang::String * generateName();
  65. private:
  66. static jlong getUniqueLong();
  67. public:
  68. static const jint SCROLLBARS_AS_NEEDED = 0;
  69. static const jint SCROLLBARS_ALWAYS = 1;
  70. static const jint SCROLLBARS_NEVER = 2;
  71. private:
  72. static jlong next_scrollpane_number;
  73. static const jlong serialVersionUID = 7956609840827222915LL;
  74. ::java::awt::ScrollPaneAdjustable * __attribute__((aligned(__alignof__( ::java::awt::Container)))) hAdjustable;
  75. ::java::awt::ScrollPaneAdjustable * vAdjustable;
  76. jint scrollbarDisplayPolicy;
  77. ::java::awt::Point * scrollPosition;
  78. jboolean wheelScrollingEnabled;
  79. public:
  80. static ::java::lang::Class class$;
  81. };
  82. #endif // __java_awt_ScrollPane__