2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_awt_Scrollbar__
5 #define __java_awt_Scrollbar__
9 #include <java/awt/Component.h>
10 #include <gcj/array.h>
22 class AdjustmentEvent
;
23 class AdjustmentListener
;
29 namespace accessibility
31 class AccessibleContext
;
36 class java::awt::Scrollbar
: public ::java::awt::Component
42 Scrollbar(jint
, jint
, jint
, jint
, jint
);
43 virtual jint
getOrientation();
44 virtual void setOrientation(jint
);
45 virtual jint
getValue();
46 virtual void setValue(jint
);
47 virtual jint
getMaximum();
48 virtual void setMaximum(jint
);
49 virtual jint
getMinimum();
50 virtual void setMinimum(jint
);
51 virtual jint
getVisibleAmount();
52 virtual jint
getVisible();
53 virtual void setVisibleAmount(jint
);
54 virtual void setValues(jint
, jint
, jint
, jint
);
55 virtual jint
getUnitIncrement();
56 virtual jint
getLineIncrement();
57 virtual void setUnitIncrement(jint
);
58 virtual void setLineIncrement(jint
);
59 virtual jint
getBlockIncrement();
60 virtual jint
getPageIncrement();
61 virtual void setBlockIncrement(jint
);
62 virtual void setPageIncrement(jint
);
63 virtual void addNotify();
64 virtual void addAdjustmentListener(::java::awt::event::AdjustmentListener
*);
65 virtual void removeAdjustmentListener(::java::awt::event::AdjustmentListener
*);
66 public: // actually protected
67 virtual void processEvent(::java::awt::AWTEvent
*);
68 virtual void processAdjustmentEvent(::java::awt::event::AdjustmentEvent
*);
69 public: // actually package-private
70 virtual void dispatchEventImpl(::java::awt::AWTEvent
*);
71 public: // actually protected
72 virtual ::java::lang::String
* paramString();
74 virtual JArray
< ::java::util::EventListener
* > * getListeners(::java::lang::Class
*);
75 virtual JArray
< ::java::awt::event::AdjustmentListener
* > * getAdjustmentListeners();
76 virtual jboolean
getValueIsAdjusting();
77 virtual void setValueIsAdjusting(jboolean
);
78 public: // actually package-private
79 virtual ::java::lang::String
* generateName();
81 static jlong
getUniqueLong();
83 virtual ::javax::accessibility::AccessibleContext
* getAccessibleContext();
84 static const jint HORIZONTAL
= 0;
85 static const jint VERTICAL
= 1;
87 static const jlong serialVersionUID
= 8451667562882310543LL;
88 jint
__attribute__((aligned(__alignof__( ::java::awt::Component
)))) lineIncrement
;
95 ::java::awt::event::AdjustmentListener
* adjustment_listeners
;
96 jboolean valueIsAdjusting
;
97 static jlong next_scrollbar_number
;
99 static ::java::lang::Class
class$
;
102 #endif // __java_awt_Scrollbar__