PR c++/31187
[official-gcc.git] / libjava / java / awt / Scrollbar.h
blobd13f504e979734eaf172288339915c7ad5543efd
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_awt_Scrollbar__
5 #define __java_awt_Scrollbar__
7 #pragma interface
9 #include <java/awt/Component.h>
10 #include <gcj/array.h>
12 extern "Java"
14 namespace java
16 namespace awt
18 class AWTEvent;
19 class Scrollbar;
20 namespace event
22 class AdjustmentEvent;
23 class AdjustmentListener;
27 namespace javax
29 namespace accessibility
31 class AccessibleContext;
36 class java::awt::Scrollbar : public ::java::awt::Component
39 public:
40 Scrollbar();
41 Scrollbar(jint);
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();
73 public:
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();
80 private:
81 static jlong getUniqueLong();
82 public:
83 virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
84 static const jint HORIZONTAL = 0;
85 static const jint VERTICAL = 1;
86 private:
87 static const jlong serialVersionUID = 8451667562882310543LL;
88 jint __attribute__((aligned(__alignof__( ::java::awt::Component)))) lineIncrement;
89 jint pageIncrement;
90 jint maximum;
91 jint minimum;
92 jint orientation;
93 jint value;
94 jint visibleAmount;
95 ::java::awt::event::AdjustmentListener * adjustment_listeners;
96 jboolean valueIsAdjusting;
97 static jlong next_scrollbar_number;
98 public:
99 static ::java::lang::Class class$;
102 #endif // __java_awt_Scrollbar__