Scrollbar.h

Go to the documentation of this file.
00001 #ifndef JAVA_AWT_SCROLLBAR_H
00002 #define JAVA_AWT_SCROLLBAR_H 1
00003 
00004 #ifndef JAVA_AWT_COMPONENT_H
00005 #include <java_awt/Component.h>
00006 #endif /* JAVA_AWT_COMPONENT_H */
00007 #ifndef JAVA_AWT_ADJUSTABLE_H
00008 #include <java_awt/Adjustable.h>
00009 #endif /* JAVA_AWT_ADJUSTABLE_H */
00010 #ifndef JAVA_AWT_EVENT_ADJUSTMENTSOURCE_H
00011 #include <java_awt_event/AdjustmentSource.h>
00012 #endif /* JAVA_AWT_EVENT_ADJUSTMENTSOURCE_H */
00013 #ifndef JAVA_AWT_SPEC
00014 #include <java_awt/Spec.h>
00015 #endif /* JAVA_AWT_SPEC */
00016 
00017 namespace java {
00018   namespace awt {
00019 
00144     class JAVA_AWT_SPEC Scrollbar 
00145       : public Component
00146       , public Adjustable
00147       , public event::AdjustmentSource {
00148 
00149     public:
00150 
00176       Scrollbar
00177         (jint orientation = HORIZONTAL, jint value = 0,
00178          jint visible = 10, jint minimum = 0, jint maximum = 100);
00179 
00187       virtual jint getOrientation() const;
00188 
00200       virtual void setOrientation(jint orientation);
00201 
00208       virtual jint getValue() const;
00209 
00230       virtual void setValue(jint newValue);
00231 
00238       virtual jint getMinimum() const;
00239 
00261       virtual void setMinimum(jint newMinimum);
00262 
00269       virtual jint getMaximum() const;
00270 
00290       virtual void setMaximum(jint newMaximum);
00291 
00302       virtual jint getVisibleAmount() const;
00303 
00322       virtual void setVisibleAmount(jint newAmount);
00323 
00335       virtual jint getUnitIncrement() const;
00336 
00349       virtual void setUnitIncrement(jint v);
00350 
00362       virtual jint getBlockIncrement() const;
00363 
00376       virtual void setBlockIncrement(jint v);
00377 
00406       virtual void setValues(jint value, jint visible, jint minimum, jint maximum);
00407 
00416       virtual jboolean getValueIsAdjusting() const;
00417 
00425       virtual void setValueIsAdjusting(jboolean b);
00426 
00427       virtual String toString() const;
00428 
00429     private:
00430 
00431       REGISTER_MEMBERS;
00432 
00433     };
00434 
00435   } // namespace awt
00436 } // namespace java
00437 
00438 #endif /* JAVA_AWT_SCROLLBAR_H */

Generated on Fri May 16 11:54:43 2008 for CrossPlatformJavaLikeC++API by  doxygen 1.5.3