2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_JSlider__
5 #define __javax_swing_JSlider__
9 #include <javax/swing/JComponent.h>
10 #include <gcj/array.h>
16 namespace accessibility
18 class AccessibleContext
;
22 class BoundedRangeModel
;
37 class javax::swing::JSlider
: public ::javax::swing::JComponent
44 JSlider(jint
, jint
, jint
);
45 JSlider(jint
, jint
, jint
, jint
);
46 JSlider(::javax::swing::BoundedRangeModel
*);
47 virtual jint
getValue();
48 virtual void setValue(jint
);
49 virtual ::javax::swing::plaf::SliderUI
* getUI();
50 virtual void setUI(::javax::swing::plaf::SliderUI
*);
51 virtual void updateUI();
52 virtual ::java::lang::String
* getUIClassID();
53 public: // actually protected
54 virtual ::javax::swing::event::ChangeListener
* createChangeListener();
56 virtual void addChangeListener(::javax::swing::event::ChangeListener
*);
57 virtual void removeChangeListener(::javax::swing::event::ChangeListener
*);
58 public: // actually protected
59 virtual void fireStateChanged();
61 virtual JArray
< ::javax::swing::event::ChangeListener
* > * getChangeListeners();
62 virtual ::javax::swing::BoundedRangeModel
* getModel();
63 virtual void setModel(::javax::swing::BoundedRangeModel
*);
64 virtual jint
getMinimum();
65 virtual void setMinimum(jint
);
66 virtual jint
getMaximum();
67 virtual void setMaximum(jint
);
68 virtual jboolean
getValueIsAdjusting();
69 virtual void setValueIsAdjusting(jboolean
);
70 virtual jint
getExtent();
71 virtual void setExtent(jint
);
72 virtual jint
getOrientation();
73 virtual void setOrientation(jint
);
74 virtual ::java::util::Dictionary
* getLabelTable();
75 virtual void setLabelTable(::java::util::Dictionary
*);
76 public: // actually protected
77 virtual void updateLabelUIs();
79 virtual ::java::util::Hashtable
* createStandardLabels(jint
);
80 virtual ::java::util::Hashtable
* createStandardLabels(jint
, jint
);
81 virtual jboolean
getInverted();
82 virtual void setInverted(jboolean
);
83 virtual jint
getMajorTickSpacing();
84 virtual void setMajorTickSpacing(jint
);
85 virtual jint
getMinorTickSpacing();
86 virtual void setMinorTickSpacing(jint
);
87 virtual jboolean
getSnapToTicks();
88 virtual void setSnapToTicks(jboolean
);
89 virtual jboolean
getPaintTicks();
90 virtual void setPaintTicks(jboolean
);
91 virtual jboolean
getPaintTrack();
92 virtual void setPaintTrack(jboolean
);
93 virtual jboolean
getPaintLabels();
94 virtual void setPaintLabels(jboolean
);
95 public: // actually protected
96 virtual ::java::lang::String
* paramString();
98 virtual ::javax::accessibility::AccessibleContext
* getAccessibleContext();
100 static const jlong serialVersionUID
= -1441275936141218479LL;
101 jboolean
__attribute__((aligned(__alignof__( ::javax::swing::JComponent
)))) paintTicks
;
103 jboolean paintLabels
;
104 ::java::util::Dictionary
* labelTable
;
105 public: // actually protected
106 ::javax::swing::BoundedRangeModel
* sliderModel
;
107 jint majorTickSpacing
;
108 jint minorTickSpacing
;
109 jboolean snapToTicks
;
113 public: // actually protected
114 ::javax::swing::event::ChangeListener
* changeListener
;
115 ::javax::swing::event::ChangeEvent
* changeEvent
;
117 static ::java::lang::Class
class$
;
120 #endif // __javax_swing_JSlider__