1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_plaf_basic_BasicScrollBarUI__
|
5 |
|
|
#define __javax_swing_plaf_basic_BasicScrollBarUI__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <javax/swing/plaf/ScrollBarUI.h>
|
10 |
|
|
extern "Java"
|
11 |
|
|
{
|
12 |
|
|
namespace java
|
13 |
|
|
{
|
14 |
|
|
namespace awt
|
15 |
|
|
{
|
16 |
|
|
class Color;
|
17 |
|
|
class Component;
|
18 |
|
|
class Container;
|
19 |
|
|
class Dimension;
|
20 |
|
|
class Graphics;
|
21 |
|
|
class Rectangle;
|
22 |
|
|
}
|
23 |
|
|
namespace beans
|
24 |
|
|
{
|
25 |
|
|
class PropertyChangeListener;
|
26 |
|
|
}
|
27 |
|
|
}
|
28 |
|
|
namespace javax
|
29 |
|
|
{
|
30 |
|
|
namespace swing
|
31 |
|
|
{
|
32 |
|
|
class ActionMap;
|
33 |
|
|
class InputMap;
|
34 |
|
|
class JButton;
|
35 |
|
|
class JComponent;
|
36 |
|
|
class JScrollBar;
|
37 |
|
|
class Timer;
|
38 |
|
|
namespace plaf
|
39 |
|
|
{
|
40 |
|
|
class ComponentUI;
|
41 |
|
|
namespace basic
|
42 |
|
|
{
|
43 |
|
|
class BasicScrollBarUI;
|
44 |
|
|
class BasicScrollBarUI$ArrowButtonListener;
|
45 |
|
|
class BasicScrollBarUI$ModelListener;
|
46 |
|
|
class BasicScrollBarUI$ScrollListener;
|
47 |
|
|
class BasicScrollBarUI$TrackListener;
|
48 |
|
|
}
|
49 |
|
|
}
|
50 |
|
|
}
|
51 |
|
|
}
|
52 |
|
|
}
|
53 |
|
|
|
54 |
|
|
class javax::swing::plaf::basic::BasicScrollBarUI : public ::javax::swing::plaf::ScrollBarUI
|
55 |
|
|
{
|
56 |
|
|
|
57 |
|
|
public:
|
58 |
|
|
BasicScrollBarUI();
|
59 |
|
|
virtual void addLayoutComponent(::java::lang::String *, ::java::awt::Component *);
|
60 |
|
|
public: // actually protected
|
61 |
|
|
virtual void configureScrollBarColors();
|
62 |
|
|
virtual ::javax::swing::plaf::basic::BasicScrollBarUI$ArrowButtonListener * createArrowButtonListener();
|
63 |
|
|
virtual ::javax::swing::JButton * createIncreaseButton(jint);
|
64 |
|
|
virtual ::javax::swing::JButton * createDecreaseButton(jint);
|
65 |
|
|
virtual ::javax::swing::plaf::basic::BasicScrollBarUI$ModelListener * createModelListener();
|
66 |
|
|
virtual ::java::beans::PropertyChangeListener * createPropertyChangeListener();
|
67 |
|
|
virtual ::javax::swing::plaf::basic::BasicScrollBarUI$ScrollListener * createScrollListener();
|
68 |
|
|
virtual ::javax::swing::plaf::basic::BasicScrollBarUI$TrackListener * createTrackListener();
|
69 |
|
|
public:
|
70 |
|
|
static ::javax::swing::plaf::ComponentUI * createUI(::javax::swing::JComponent *);
|
71 |
|
|
virtual ::java::awt::Dimension * getMaximumSize(::javax::swing::JComponent *);
|
72 |
|
|
public: // actually protected
|
73 |
|
|
virtual ::java::awt::Dimension * getMaximumThumbSize();
|
74 |
|
|
public:
|
75 |
|
|
virtual ::java::awt::Dimension * getMinimumSize(::javax::swing::JComponent *);
|
76 |
|
|
public: // actually protected
|
77 |
|
|
virtual ::java::awt::Dimension * getMinimumThumbSize();
|
78 |
|
|
public: // actually package-private
|
79 |
|
|
virtual void calculatePreferredSize();
|
80 |
|
|
public:
|
81 |
|
|
virtual ::java::awt::Dimension * getPreferredSize(::javax::swing::JComponent *);
|
82 |
|
|
public: // actually protected
|
83 |
|
|
virtual ::java::awt::Rectangle * getThumbBounds();
|
84 |
|
|
virtual ::java::awt::Rectangle * getTrackBounds();
|
85 |
|
|
virtual void installComponents();
|
86 |
|
|
virtual void installDefaults();
|
87 |
|
|
virtual void installKeyboardActions();
|
88 |
|
|
virtual void uninstallKeyboardActions();
|
89 |
|
|
public: // actually package-private
|
90 |
|
|
virtual ::javax::swing::InputMap * getInputMap(jint);
|
91 |
|
|
virtual ::javax::swing::ActionMap * getActionMap();
|
92 |
|
|
virtual ::javax::swing::ActionMap * createActionMap();
|
93 |
|
|
public: // actually protected
|
94 |
|
|
virtual void installListeners();
|
95 |
|
|
public:
|
96 |
|
|
virtual void installUI(::javax::swing::JComponent *);
|
97 |
|
|
virtual void layoutContainer(::java::awt::Container *);
|
98 |
|
|
public: // actually protected
|
99 |
|
|
virtual void layoutHScrollbar(::javax::swing::JScrollBar *);
|
100 |
|
|
virtual void layoutVScrollbar(::javax::swing::JScrollBar *);
|
101 |
|
|
public: // actually package-private
|
102 |
|
|
virtual void updateThumbRect();
|
103 |
|
|
public:
|
104 |
|
|
virtual ::java::awt::Dimension * minimumLayoutSize(::java::awt::Container *);
|
105 |
|
|
virtual void paint(::java::awt::Graphics *, ::javax::swing::JComponent *);
|
106 |
|
|
public: // actually protected
|
107 |
|
|
virtual void paintDecreaseHighlight(::java::awt::Graphics *);
|
108 |
|
|
virtual void paintIncreaseHighlight(::java::awt::Graphics *);
|
109 |
|
|
virtual void paintThumb(::java::awt::Graphics *, ::javax::swing::JComponent *, ::java::awt::Rectangle *);
|
110 |
|
|
virtual void paintTrack(::java::awt::Graphics *, ::javax::swing::JComponent *, ::java::awt::Rectangle *);
|
111 |
|
|
public:
|
112 |
|
|
virtual ::java::awt::Dimension * preferredLayoutSize(::java::awt::Container *);
|
113 |
|
|
virtual void removeLayoutComponent(::java::awt::Component *);
|
114 |
|
|
public: // actually protected
|
115 |
|
|
virtual void scrollByBlock(jint);
|
116 |
|
|
public: // actually package-private
|
117 |
|
|
static void scrollByBlock(::javax::swing::JScrollBar *, jint);
|
118 |
|
|
public: // actually protected
|
119 |
|
|
virtual void scrollByUnit(jint);
|
120 |
|
|
public: // actually package-private
|
121 |
|
|
static void scrollByUnits(::javax::swing::JScrollBar *, jint, jint);
|
122 |
|
|
public: // actually protected
|
123 |
|
|
virtual void setThumbBounds(jint, jint, jint, jint);
|
124 |
|
|
virtual void uninstallComponents();
|
125 |
|
|
virtual void uninstallDefaults();
|
126 |
|
|
virtual void uninstallListeners();
|
127 |
|
|
public:
|
128 |
|
|
virtual void uninstallUI(::javax::swing::JComponent *);
|
129 |
|
|
public: // actually package-private
|
130 |
|
|
virtual jint valueForYPosition(jint);
|
131 |
|
|
virtual jint valueForXPosition(jint);
|
132 |
|
|
public:
|
133 |
|
|
virtual jboolean isThumbRollover();
|
134 |
|
|
public: // actually protected
|
135 |
|
|
virtual void setThumbRollover(jboolean);
|
136 |
|
|
public:
|
137 |
|
|
virtual jboolean getSupportsAbsolutePositioning();
|
138 |
|
|
public: // actually protected
|
139 |
|
|
::javax::swing::plaf::basic::BasicScrollBarUI$ArrowButtonListener * __attribute__((aligned(__alignof__( ::javax::swing::plaf::ScrollBarUI)))) buttonListener;
|
140 |
|
|
::javax::swing::plaf::basic::BasicScrollBarUI$ModelListener * modelListener;
|
141 |
|
|
::java::beans::PropertyChangeListener * propertyChangeListener;
|
142 |
|
|
::javax::swing::plaf::basic::BasicScrollBarUI$ScrollListener * scrollListener;
|
143 |
|
|
::javax::swing::plaf::basic::BasicScrollBarUI$TrackListener * trackListener;
|
144 |
|
|
::javax::swing::JButton * decrButton;
|
145 |
|
|
::javax::swing::JButton * incrButton;
|
146 |
|
|
::java::awt::Dimension * maximumThumbSize;
|
147 |
|
|
::java::awt::Dimension * minimumThumbSize;
|
148 |
|
|
::java::awt::Color * thumbColor;
|
149 |
|
|
::java::awt::Color * thumbDarkShadowColor;
|
150 |
|
|
::java::awt::Color * thumbHighlightColor;
|
151 |
|
|
::java::awt::Color * thumbLightShadowColor;
|
152 |
|
|
::java::awt::Color * trackHighlightColor;
|
153 |
|
|
::java::awt::Color * trackColor;
|
154 |
|
|
::java::awt::Rectangle * trackRect;
|
155 |
|
|
::java::awt::Rectangle * thumbRect;
|
156 |
|
|
static const jint DECREASE_HIGHLIGHT = 1;
|
157 |
|
|
static const jint INCREASE_HIGHLIGHT = 2;
|
158 |
|
|
static const jint NO_HIGHLIGHT = 0;
|
159 |
|
|
private:
|
160 |
|
|
static const jint POSITIVE_SCROLL = 1;
|
161 |
|
|
static const jint NEGATIVE_SCROLL = -1;
|
162 |
|
|
::java::awt::Dimension * preferredSize;
|
163 |
|
|
public: // actually protected
|
164 |
|
|
jint trackHighlight;
|
165 |
|
|
jboolean isDragging;
|
166 |
|
|
::javax::swing::Timer * scrollTimer;
|
167 |
|
|
::javax::swing::JScrollBar * scrollbar;
|
168 |
|
|
public: // actually package-private
|
169 |
|
|
jboolean thumbRollover;
|
170 |
|
|
public:
|
171 |
|
|
static ::java::lang::Class class$;
|
172 |
|
|
};
|
173 |
|
|
|
174 |
|
|
#endif // __javax_swing_plaf_basic_BasicScrollBarUI__
|