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