OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [javax/] [swing/] [plaf/] [basic/] [BasicSliderUI.h] - Blame information for rev 762

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 759 jeremybenn
 
2
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
 
4
#ifndef __javax_swing_plaf_basic_BasicSliderUI__
5
#define __javax_swing_plaf_basic_BasicSliderUI__
6
 
7
#pragma interface
8
 
9
#include <javax/swing/plaf/SliderUI.h>
10
extern "Java"
11
{
12
  namespace java
13
  {
14
    namespace awt
15
    {
16
        class Color;
17
        class Component;
18
        class Dimension;
19
        class Graphics;
20
        class Insets;
21
        class Rectangle;
22
      namespace event
23
      {
24
          class ComponentListener;
25
          class FocusListener;
26
      }
27
    }
28
    namespace beans
29
    {
30
        class PropertyChangeListener;
31
    }
32
  }
33
  namespace javax
34
  {
35
    namespace swing
36
    {
37
        class ActionMap;
38
        class InputMap;
39
        class JComponent;
40
        class JSlider;
41
        class Timer;
42
      namespace event
43
      {
44
          class ChangeListener;
45
      }
46
      namespace plaf
47
      {
48
          class ComponentUI;
49
        namespace basic
50
        {
51
            class BasicSliderUI;
52
            class BasicSliderUI$ScrollListener;
53
            class BasicSliderUI$TrackListener;
54
        }
55
      }
56
    }
57
  }
58
}
59
 
60
class javax::swing::plaf::basic::BasicSliderUI : public ::javax::swing::plaf::SliderUI
61
{
62
 
63
public:
64
  BasicSliderUI(::javax::swing::JSlider *);
65
public: // actually protected
66
  virtual jboolean isDragging();
67
  virtual ::java::awt::Color * getShadowColor();
68
  virtual ::java::awt::Color * getHighlightColor();
69
  virtual ::java::awt::Color * getFocusColor();
70
public:
71
  static ::javax::swing::plaf::ComponentUI * createUI(::javax::swing::JComponent *);
72
  virtual void installUI(::javax::swing::JComponent *);
73
  virtual void uninstallUI(::javax::swing::JComponent *);
74
public: // actually protected
75
  virtual void installDefaults(::javax::swing::JSlider *);
76
  virtual ::javax::swing::plaf::basic::BasicSliderUI$TrackListener * createTrackListener(::javax::swing::JSlider *);
77
  virtual ::javax::swing::event::ChangeListener * createChangeListener(::javax::swing::JSlider *);
78
  virtual ::java::awt::event::ComponentListener * createComponentListener(::javax::swing::JSlider *);
79
  virtual ::java::awt::event::FocusListener * createFocusListener(::javax::swing::JSlider *);
80
  virtual ::javax::swing::plaf::basic::BasicSliderUI$ScrollListener * createScrollListener(::javax::swing::JSlider *);
81
  virtual ::java::beans::PropertyChangeListener * createPropertyChangeListener(::javax::swing::JSlider *);
82
  virtual void installListeners(::javax::swing::JSlider *);
83
  virtual void uninstallListeners(::javax::swing::JSlider *);
84
  virtual void installKeyboardActions(::javax::swing::JSlider *);
85
  virtual void uninstallKeyboardActions(::javax::swing::JSlider *);
86
public:
87
  virtual ::java::awt::Dimension * getPreferredHorizontalSize();
88
  virtual ::java::awt::Dimension * getPreferredVerticalSize();
89
  virtual ::java::awt::Dimension * getMinimumHorizontalSize();
90
  virtual ::java::awt::Dimension * getMinimumVerticalSize();
91
  virtual ::java::awt::Dimension * getPreferredSize(::javax::swing::JComponent *);
92
  virtual ::java::awt::Dimension * getMinimumSize(::javax::swing::JComponent *);
93
  virtual ::java::awt::Dimension * getMaximumSize(::javax::swing::JComponent *);
94
public: // actually protected
95
  virtual void calculateGeometry();
96
  virtual void calculateFocusRect();
97
  virtual void calculateThumbSize();
98
  virtual void calculateContentRect();
99
  virtual void calculateThumbLocation();
100
  virtual void calculateTrackBuffer();
101
  virtual ::java::awt::Dimension * getThumbSize();
102
  virtual void calculateTrackRect();
103
  virtual jint getTickLength();
104
  virtual void calculateTickRect();
105
  virtual void calculateLabelRect();
106
  virtual jint getWidthOfWidestLabel();
107
  virtual jint getHeightOfTallestLabel();
108
  virtual jint getWidthOfHighValueLabel();
109
  virtual jint getWidthOfLowValueLabel();
110
  virtual jint getHeightOfHighValueLabel();
111
  virtual jint getHeightOfLowValueLabel();
112
  virtual jboolean drawInverted();
113
  virtual ::java::awt::Component * getLowestValueLabel();
114
  virtual ::java::awt::Component * getHighestValueLabel();
115
public:
116
  virtual void paint(::java::awt::Graphics *, ::javax::swing::JComponent *);
117
public: // actually protected
118
  virtual void recalculateIfInsetsChanged();
119
  virtual void recalculateIfOrientationChanged();
120
public:
121
  virtual void paintFocus(::java::awt::Graphics *);
122
  virtual void paintTrack(::java::awt::Graphics *);
123
  virtual void paintTicks(::java::awt::Graphics *);
124
public: // actually protected
125
  virtual void paintMinorTickForHorizSlider(::java::awt::Graphics *, ::java::awt::Rectangle *, jint);
126
  virtual void paintMajorTickForHorizSlider(::java::awt::Graphics *, ::java::awt::Rectangle *, jint);
127
  virtual void paintMinorTickForVertSlider(::java::awt::Graphics *, ::java::awt::Rectangle *, jint);
128
  virtual void paintMajorTickForVertSlider(::java::awt::Graphics *, ::java::awt::Rectangle *, jint);
129
public:
130
  virtual void paintLabels(::java::awt::Graphics *);
131
public: // actually protected
132
  virtual void paintHorizontalLabel(::java::awt::Graphics *, jint, ::java::awt::Component *);
133
  virtual void paintVerticalLabel(::java::awt::Graphics *, jint, ::java::awt::Component *);
134
public:
135
  virtual void paintThumb(::java::awt::Graphics *);
136
  virtual void setThumbLocation(jint, jint);
137
  virtual void scrollByBlock(jint);
138
  virtual void scrollByUnit(jint);
139
public: // actually protected
140
  virtual void scrollDueToClickInTrack(jint);
141
  virtual jint xPositionForValue(jint);
142
  virtual jint yPositionForValue(jint);
143
public:
144
  virtual jint valueForYPosition(jint);
145
  virtual jint valueForXPosition(jint);
146
public: // actually package-private
147
  virtual jint findClosestTick(jint);
148
  virtual ::javax::swing::InputMap * getInputMap(jint);
149
  virtual ::javax::swing::ActionMap * getActionMap();
150
  virtual ::javax::swing::ActionMap * createActionMap();
151
private:
152
  jboolean hitClip(::java::awt::Graphics *, ::java::awt::Rectangle *);
153
public: // actually protected
154
  ::javax::swing::event::ChangeListener * __attribute__((aligned(__alignof__( ::javax::swing::plaf::SliderUI)))) changeListener;
155
  ::java::beans::PropertyChangeListener * propertyChangeListener;
156
  ::javax::swing::plaf::basic::BasicSliderUI$ScrollListener * scrollListener;
157
  ::java::awt::event::ComponentListener * componentListener;
158
  ::java::awt::event::FocusListener * focusListener;
159
  ::javax::swing::plaf::basic::BasicSliderUI$TrackListener * trackListener;
160
  ::java::awt::Insets * focusInsets;
161
  ::java::awt::Insets * insetCache;
162
  ::java::awt::Rectangle * contentRect;
163
  ::java::awt::Rectangle * focusRect;
164
  ::java::awt::Rectangle * thumbRect;
165
  ::java::awt::Rectangle * tickRect;
166
  ::java::awt::Rectangle * labelRect;
167
  ::java::awt::Rectangle * trackRect;
168
public:
169
  static const jint MAX_SCROLL = 2;
170
  static const jint MIN_SCROLL = -2;
171
  static const jint NEGATIVE_SCROLL = -1;
172
  static const jint POSITIVE_SCROLL = 1;
173
public: // actually protected
174
  jint trackBuffer;
175
  jboolean leftToRightCache;
176
  ::javax::swing::Timer * scrollTimer;
177
  ::javax::swing::JSlider * slider;
178
private:
179
  ::java::awt::Color * shadowColor;
180
  ::java::awt::Color * highlightColor;
181
  ::java::awt::Color * focusColor;
182
public: // actually package-private
183
  jboolean dragging;
184
public:
185
  static ::java::lang::Class class$;
186
};
187
 
188
#endif // __javax_swing_plaf_basic_BasicSliderUI__

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.