JProgressBar.h 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_JProgressBar__
  3. #define __javax_swing_JProgressBar__
  4. #pragma interface
  5. #include <javax/swing/JComponent.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace awt
  12. {
  13. class Graphics;
  14. }
  15. }
  16. namespace javax
  17. {
  18. namespace accessibility
  19. {
  20. class AccessibleContext;
  21. }
  22. namespace swing
  23. {
  24. class BoundedRangeModel;
  25. class JProgressBar;
  26. namespace event
  27. {
  28. class ChangeEvent;
  29. class ChangeListener;
  30. }
  31. namespace plaf
  32. {
  33. class ProgressBarUI;
  34. }
  35. }
  36. }
  37. }
  38. class javax::swing::JProgressBar : public ::javax::swing::JComponent
  39. {
  40. public:
  41. JProgressBar();
  42. JProgressBar(jint);
  43. JProgressBar(jint, jint);
  44. JProgressBar(jint, jint, jint);
  45. JProgressBar(::javax::swing::BoundedRangeModel *);
  46. virtual jint getValue();
  47. virtual void setValue(jint);
  48. public: // actually protected
  49. virtual void paintBorder(::java::awt::Graphics *);
  50. public:
  51. virtual jint getOrientation();
  52. virtual void setOrientation(jint);
  53. virtual jboolean isStringPainted();
  54. virtual void setStringPainted(jboolean);
  55. virtual ::java::lang::String * getString();
  56. virtual void setString(::java::lang::String *);
  57. virtual jdouble getPercentComplete();
  58. virtual jboolean isBorderPainted();
  59. virtual void setBorderPainted(jboolean);
  60. virtual ::javax::swing::plaf::ProgressBarUI * getUI();
  61. virtual void setUI(::javax::swing::plaf::ProgressBarUI *);
  62. virtual void updateUI();
  63. virtual ::java::lang::String * getUIClassID();
  64. public: // actually protected
  65. virtual ::javax::swing::event::ChangeListener * createChangeListener();
  66. public:
  67. virtual void addChangeListener(::javax::swing::event::ChangeListener *);
  68. virtual void removeChangeListener(::javax::swing::event::ChangeListener *);
  69. virtual JArray< ::javax::swing::event::ChangeListener * > * getChangeListeners();
  70. public: // actually protected
  71. virtual void fireStateChanged();
  72. public:
  73. virtual ::javax::swing::BoundedRangeModel * getModel();
  74. virtual void setModel(::javax::swing::BoundedRangeModel *);
  75. virtual jint getMinimum();
  76. virtual void setMinimum(jint);
  77. virtual jint getMaximum();
  78. virtual void setMaximum(jint);
  79. public: // actually protected
  80. virtual ::java::lang::String * paramString();
  81. public:
  82. virtual void setIndeterminate(jboolean);
  83. virtual jboolean isIndeterminate();
  84. virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
  85. private:
  86. static const jlong serialVersionUID = 1980046021813598781LL;
  87. jboolean __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) indeterminate;
  88. public: // actually protected
  89. jint orientation;
  90. jboolean paintBorder__;
  91. ::javax::swing::BoundedRangeModel * model;
  92. ::java::lang::String * progressString;
  93. jboolean paintString;
  94. ::javax::swing::event::ChangeEvent * changeEvent;
  95. ::javax::swing::event::ChangeListener * changeListener;
  96. public:
  97. static ::java::lang::Class class$;
  98. };
  99. #endif // __javax_swing_JProgressBar__