summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/plaf/basic/BasicScrollBarUI.h
blob: 64cd923aca4bc88d04e74f1f93005e1e1ede549a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_plaf_basic_BasicScrollBarUI__
#define __javax_swing_plaf_basic_BasicScrollBarUI__

#pragma interface

#include <javax/swing/plaf/ScrollBarUI.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Color;
        class Component;
        class Container;
        class Dimension;
        class Graphics;
        class Rectangle;
    }
    namespace beans
    {
        class PropertyChangeListener;
    }
  }
  namespace javax
  {
    namespace swing
    {
        class ActionMap;
        class InputMap;
        class JButton;
        class JComponent;
        class JScrollBar;
        class Timer;
      namespace plaf
      {
          class ComponentUI;
        namespace basic
        {
            class BasicScrollBarUI;
            class BasicScrollBarUI$ArrowButtonListener;
            class BasicScrollBarUI$ModelListener;
            class BasicScrollBarUI$ScrollListener;
            class BasicScrollBarUI$TrackListener;
        }
      }
    }
  }
}

class javax::swing::plaf::basic::BasicScrollBarUI : public ::javax::swing::plaf::ScrollBarUI
{

public:
  BasicScrollBarUI();
  virtual void addLayoutComponent(::java::lang::String *, ::java::awt::Component *);
public: // actually protected
  virtual void configureScrollBarColors();
  virtual ::javax::swing::plaf::basic::BasicScrollBarUI$ArrowButtonListener * createArrowButtonListener();
  virtual ::javax::swing::JButton * createIncreaseButton(jint);
  virtual ::javax::swing::JButton * createDecreaseButton(jint);
  virtual ::javax::swing::plaf::basic::BasicScrollBarUI$ModelListener * createModelListener();
  virtual ::java::beans::PropertyChangeListener * createPropertyChangeListener();
  virtual ::javax::swing::plaf::basic::BasicScrollBarUI$ScrollListener * createScrollListener();
  virtual ::javax::swing::plaf::basic::BasicScrollBarUI$TrackListener * createTrackListener();
public:
  static ::javax::swing::plaf::ComponentUI * createUI(::javax::swing::JComponent *);
  virtual ::java::awt::Dimension * getMaximumSize(::javax::swing::JComponent *);
public: // actually protected
  virtual ::java::awt::Dimension * getMaximumThumbSize();
public:
  virtual ::java::awt::Dimension * getMinimumSize(::javax::swing::JComponent *);
public: // actually protected
  virtual ::java::awt::Dimension * getMinimumThumbSize();
public: // actually package-private
  virtual void calculatePreferredSize();
public:
  virtual ::java::awt::Dimension * getPreferredSize(::javax::swing::JComponent *);
public: // actually protected
  virtual ::java::awt::Rectangle * getThumbBounds();
  virtual ::java::awt::Rectangle * getTrackBounds();
  virtual void installComponents();
  virtual void installDefaults();
  virtual void installKeyboardActions();
  virtual void uninstallKeyboardActions();
public: // actually package-private
  virtual ::javax::swing::InputMap * getInputMap(jint);
  virtual ::javax::swing::ActionMap * getActionMap();
  virtual ::javax::swing::ActionMap * createActionMap();
public: // actually protected
  virtual void installListeners();
public:
  virtual void installUI(::javax::swing::JComponent *);
  virtual void layoutContainer(::java::awt::Container *);
public: // actually protected
  virtual void layoutHScrollbar(::javax::swing::JScrollBar *);
  virtual void layoutVScrollbar(::javax::swing::JScrollBar *);
public: // actually package-private
  virtual void updateThumbRect();
public:
  virtual ::java::awt::Dimension * minimumLayoutSize(::java::awt::Container *);
  virtual void paint(::java::awt::Graphics *, ::javax::swing::JComponent *);
public: // actually protected
  virtual void paintDecreaseHighlight(::java::awt::Graphics *);
  virtual void paintIncreaseHighlight(::java::awt::Graphics *);
  virtual void paintThumb(::java::awt::Graphics *, ::javax::swing::JComponent *, ::java::awt::Rectangle *);
  virtual void paintTrack(::java::awt::Graphics *, ::javax::swing::JComponent *, ::java::awt::Rectangle *);
public:
  virtual ::java::awt::Dimension * preferredLayoutSize(::java::awt::Container *);
  virtual void removeLayoutComponent(::java::awt::Component *);
public: // actually protected
  virtual void scrollByBlock(jint);
public: // actually package-private
  static void scrollByBlock(::javax::swing::JScrollBar *, jint);
public: // actually protected
  virtual void scrollByUnit(jint);
public: // actually package-private
  static void scrollByUnits(::javax::swing::JScrollBar *, jint, jint);
public: // actually protected
  virtual void setThumbBounds(jint, jint, jint, jint);
  virtual void uninstallComponents();
  virtual void uninstallDefaults();
  virtual void uninstallListeners();
public:
  virtual void uninstallUI(::javax::swing::JComponent *);
public: // actually package-private
  virtual jint valueForYPosition(jint);
  virtual jint valueForXPosition(jint);
public:
  virtual jboolean isThumbRollover();
public: // actually protected
  virtual void setThumbRollover(jboolean);
public:
  virtual jboolean getSupportsAbsolutePositioning();
public: // actually protected
  ::javax::swing::plaf::basic::BasicScrollBarUI$ArrowButtonListener * __attribute__((aligned(__alignof__( ::javax::swing::plaf::ScrollBarUI)))) buttonListener;
  ::javax::swing::plaf::basic::BasicScrollBarUI$ModelListener * modelListener;
  ::java::beans::PropertyChangeListener * propertyChangeListener;
  ::javax::swing::plaf::basic::BasicScrollBarUI$ScrollListener * scrollListener;
  ::javax::swing::plaf::basic::BasicScrollBarUI$TrackListener * trackListener;
  ::javax::swing::JButton * decrButton;
  ::javax::swing::JButton * incrButton;
  ::java::awt::Dimension * maximumThumbSize;
  ::java::awt::Dimension * minimumThumbSize;
  ::java::awt::Color * thumbColor;
  ::java::awt::Color * thumbDarkShadowColor;
  ::java::awt::Color * thumbHighlightColor;
  ::java::awt::Color * thumbLightShadowColor;
  ::java::awt::Color * trackHighlightColor;
  ::java::awt::Color * trackColor;
  ::java::awt::Rectangle * trackRect;
  ::java::awt::Rectangle * thumbRect;
  static const jint DECREASE_HIGHLIGHT = 1;
  static const jint INCREASE_HIGHLIGHT = 2;
  static const jint NO_HIGHLIGHT = 0;
private:
  static const jint POSITIVE_SCROLL = 1;
  static const jint NEGATIVE_SCROLL = -1;
  ::java::awt::Dimension * preferredSize;
public: // actually protected
  jint trackHighlight;
  jboolean isDragging;
  ::javax::swing::Timer * scrollTimer;
  ::javax::swing::JScrollBar * scrollbar;
public: // actually package-private
  jboolean thumbRollover;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_plaf_basic_BasicScrollBarUI__