Scrollbar.h 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_awt_Scrollbar__
  3. #define __java_awt_Scrollbar__
  4. #pragma interface
  5. #include <java/awt/Component.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace awt
  12. {
  13. class AWTEvent;
  14. class Scrollbar;
  15. namespace event
  16. {
  17. class AdjustmentEvent;
  18. class AdjustmentListener;
  19. }
  20. }
  21. }
  22. namespace javax
  23. {
  24. namespace accessibility
  25. {
  26. class AccessibleContext;
  27. }
  28. }
  29. }
  30. class java::awt::Scrollbar : public ::java::awt::Component
  31. {
  32. public:
  33. Scrollbar();
  34. Scrollbar(jint);
  35. Scrollbar(jint, jint, jint, jint, jint);
  36. virtual jint getOrientation();
  37. virtual void setOrientation(jint);
  38. virtual jint getValue();
  39. virtual void setValue(jint);
  40. virtual jint getMaximum();
  41. virtual void setMaximum(jint);
  42. virtual jint getMinimum();
  43. virtual void setMinimum(jint);
  44. virtual jint getVisibleAmount();
  45. virtual jint getVisible();
  46. virtual void setVisibleAmount(jint);
  47. virtual void setValues(jint, jint, jint, jint);
  48. virtual jint getUnitIncrement();
  49. virtual jint getLineIncrement();
  50. virtual void setUnitIncrement(jint);
  51. virtual void setLineIncrement(jint);
  52. virtual jint getBlockIncrement();
  53. virtual jint getPageIncrement();
  54. virtual void setBlockIncrement(jint);
  55. virtual void setPageIncrement(jint);
  56. virtual void addNotify();
  57. virtual void addAdjustmentListener(::java::awt::event::AdjustmentListener *);
  58. virtual void removeAdjustmentListener(::java::awt::event::AdjustmentListener *);
  59. public: // actually protected
  60. virtual void processEvent(::java::awt::AWTEvent *);
  61. virtual void processAdjustmentEvent(::java::awt::event::AdjustmentEvent *);
  62. public: // actually package-private
  63. virtual void dispatchEventImpl(::java::awt::AWTEvent *);
  64. public: // actually protected
  65. virtual ::java::lang::String * paramString();
  66. public:
  67. virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
  68. virtual JArray< ::java::awt::event::AdjustmentListener * > * getAdjustmentListeners();
  69. virtual jboolean getValueIsAdjusting();
  70. virtual void setValueIsAdjusting(jboolean);
  71. public: // actually package-private
  72. virtual ::java::lang::String * generateName();
  73. private:
  74. static jlong getUniqueLong();
  75. public:
  76. virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
  77. static const jint HORIZONTAL = 0;
  78. static const jint VERTICAL = 1;
  79. private:
  80. static const jlong serialVersionUID = 8451667562882310543LL;
  81. jint __attribute__((aligned(__alignof__( ::java::awt::Component)))) lineIncrement;
  82. jint pageIncrement;
  83. jint maximum;
  84. jint minimum;
  85. jint orientation;
  86. jint value;
  87. jint visibleAmount;
  88. ::java::awt::event::AdjustmentListener * adjustment_listeners;
  89. jboolean valueIsAdjusting;
  90. static jlong next_scrollbar_number;
  91. public:
  92. static ::java::lang::Class class$;
  93. };
  94. #endif // __java_awt_Scrollbar__