JSlider.h 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_JSlider__
  3. #define __javax_swing_JSlider__
  4. #pragma interface
  5. #include <javax/swing/JComponent.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace javax
  10. {
  11. namespace accessibility
  12. {
  13. class AccessibleContext;
  14. }
  15. namespace swing
  16. {
  17. class BoundedRangeModel;
  18. class JSlider;
  19. namespace event
  20. {
  21. class ChangeEvent;
  22. class ChangeListener;
  23. }
  24. namespace plaf
  25. {
  26. class SliderUI;
  27. }
  28. }
  29. }
  30. }
  31. class javax::swing::JSlider : public ::javax::swing::JComponent
  32. {
  33. public:
  34. JSlider();
  35. JSlider(jint);
  36. JSlider(jint, jint);
  37. JSlider(jint, jint, jint);
  38. JSlider(jint, jint, jint, jint);
  39. JSlider(::javax::swing::BoundedRangeModel *);
  40. virtual jint getValue();
  41. virtual void setValue(jint);
  42. virtual ::javax::swing::plaf::SliderUI * getUI();
  43. virtual void setUI(::javax::swing::plaf::SliderUI *);
  44. virtual void updateUI();
  45. virtual ::java::lang::String * getUIClassID();
  46. public: // actually protected
  47. virtual ::javax::swing::event::ChangeListener * createChangeListener();
  48. public:
  49. virtual void addChangeListener(::javax::swing::event::ChangeListener *);
  50. virtual void removeChangeListener(::javax::swing::event::ChangeListener *);
  51. public: // actually protected
  52. virtual void fireStateChanged();
  53. public:
  54. virtual JArray< ::javax::swing::event::ChangeListener * > * getChangeListeners();
  55. virtual ::javax::swing::BoundedRangeModel * getModel();
  56. virtual void setModel(::javax::swing::BoundedRangeModel *);
  57. virtual jint getMinimum();
  58. virtual void setMinimum(jint);
  59. virtual jint getMaximum();
  60. virtual void setMaximum(jint);
  61. virtual jboolean getValueIsAdjusting();
  62. virtual void setValueIsAdjusting(jboolean);
  63. virtual jint getExtent();
  64. virtual void setExtent(jint);
  65. virtual jint getOrientation();
  66. virtual void setOrientation(jint);
  67. virtual ::java::util::Dictionary * getLabelTable();
  68. virtual void setLabelTable(::java::util::Dictionary *);
  69. public: // actually protected
  70. virtual void updateLabelUIs();
  71. public:
  72. virtual ::java::util::Hashtable * createStandardLabels(jint);
  73. virtual ::java::util::Hashtable * createStandardLabels(jint, jint);
  74. virtual jboolean getInverted();
  75. virtual void setInverted(jboolean);
  76. virtual jint getMajorTickSpacing();
  77. virtual void setMajorTickSpacing(jint);
  78. virtual jint getMinorTickSpacing();
  79. virtual void setMinorTickSpacing(jint);
  80. virtual jboolean getSnapToTicks();
  81. virtual void setSnapToTicks(jboolean);
  82. virtual jboolean getPaintTicks();
  83. virtual void setPaintTicks(jboolean);
  84. virtual jboolean getPaintTrack();
  85. virtual void setPaintTrack(jboolean);
  86. virtual jboolean getPaintLabels();
  87. virtual void setPaintLabels(jboolean);
  88. public: // actually protected
  89. virtual ::java::lang::String * paramString();
  90. public:
  91. virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
  92. private:
  93. static const jlong serialVersionUID = -1441275936141218479LL;
  94. jboolean __attribute__((aligned(__alignof__( ::javax::swing::JComponent)))) paintTicks;
  95. jboolean paintTrack;
  96. jboolean paintLabels;
  97. ::java::util::Dictionary * labelTable;
  98. public: // actually protected
  99. ::javax::swing::BoundedRangeModel * sliderModel;
  100. jint majorTickSpacing;
  101. jint minorTickSpacing;
  102. jboolean snapToTicks;
  103. jint orientation;
  104. private:
  105. jboolean isInverted;
  106. public: // actually protected
  107. ::javax::swing::event::ChangeListener * changeListener;
  108. ::javax::swing::event::ChangeEvent * changeEvent;
  109. public:
  110. static ::java::lang::Class class$;
  111. };
  112. #endif // __javax_swing_JSlider__