1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_plaf_basic_BasicProgressBarUI__
|
5 |
|
|
#define __javax_swing_plaf_basic_BasicProgressBarUI__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <javax/swing/plaf/ProgressBarUI.h>
|
10 |
|
|
extern "Java"
|
11 |
|
|
{
|
12 |
|
|
namespace java
|
13 |
|
|
{
|
14 |
|
|
namespace awt
|
15 |
|
|
{
|
16 |
|
|
class Color;
|
17 |
|
|
class Dimension;
|
18 |
|
|
class Graphics;
|
19 |
|
|
class Insets;
|
20 |
|
|
class Point;
|
21 |
|
|
class Rectangle;
|
22 |
|
|
namespace event
|
23 |
|
|
{
|
24 |
|
|
class ComponentListener;
|
25 |
|
|
}
|
26 |
|
|
}
|
27 |
|
|
}
|
28 |
|
|
namespace javax
|
29 |
|
|
{
|
30 |
|
|
namespace swing
|
31 |
|
|
{
|
32 |
|
|
class JComponent;
|
33 |
|
|
class JProgressBar;
|
34 |
|
|
class Timer;
|
35 |
|
|
namespace event
|
36 |
|
|
{
|
37 |
|
|
class AncestorListener;
|
38 |
|
|
class ChangeListener;
|
39 |
|
|
}
|
40 |
|
|
namespace plaf
|
41 |
|
|
{
|
42 |
|
|
class ComponentUI;
|
43 |
|
|
namespace basic
|
44 |
|
|
{
|
45 |
|
|
class BasicProgressBarUI;
|
46 |
|
|
class BasicProgressBarUI$Animator;
|
47 |
|
|
class BasicProgressBarUI$PropertyChangeHandler;
|
48 |
|
|
}
|
49 |
|
|
}
|
50 |
|
|
}
|
51 |
|
|
}
|
52 |
|
|
}
|
53 |
|
|
|
54 |
|
|
class javax::swing::plaf::basic::BasicProgressBarUI : public ::javax::swing::plaf::ProgressBarUI
|
55 |
|
|
{
|
56 |
|
|
|
57 |
|
|
public:
|
58 |
|
|
BasicProgressBarUI();
|
59 |
|
|
static ::javax::swing::plaf::ComponentUI * createUI(::javax::swing::JComponent *);
|
60 |
|
|
public: // actually protected
|
61 |
|
|
virtual jint getAmountFull(::java::awt::Insets *, jint, jint);
|
62 |
|
|
virtual jint getAnimationIndex();
|
63 |
|
|
virtual ::java::awt::Rectangle * getBox(::java::awt::Rectangle *);
|
64 |
|
|
virtual jint getCellLength();
|
65 |
|
|
virtual jint getCellSpacing();
|
66 |
|
|
public:
|
67 |
|
|
virtual ::java::awt::Dimension * getMaximumSize(::javax::swing::JComponent *);
|
68 |
|
|
virtual ::java::awt::Dimension * getMinimumSize(::javax::swing::JComponent *);
|
69 |
|
|
public: // actually protected
|
70 |
|
|
virtual ::java::awt::Dimension * getPreferredInnerHorizontal();
|
71 |
|
|
virtual ::java::awt::Dimension * getPreferredInnerVertical();
|
72 |
|
|
public:
|
73 |
|
|
virtual ::java::awt::Dimension * getPreferredSize(::javax::swing::JComponent *);
|
74 |
|
|
public: // actually protected
|
75 |
|
|
virtual ::java::awt::Color * getSelectionBackground();
|
76 |
|
|
virtual ::java::awt::Color * getSelectionForeground();
|
77 |
|
|
virtual ::java::awt::Point * getStringPlacement(::java::awt::Graphics *, ::java::lang::String *, jint, jint, jint, jint);
|
78 |
|
|
virtual void incrementAnimationIndex();
|
79 |
|
|
public:
|
80 |
|
|
virtual void paint(::java::awt::Graphics *, ::javax::swing::JComponent *);
|
81 |
|
|
public: // actually protected
|
82 |
|
|
virtual void paintDeterminate(::java::awt::Graphics *, ::javax::swing::JComponent *);
|
83 |
|
|
virtual void paintIndeterminate(::java::awt::Graphics *, ::javax::swing::JComponent *);
|
84 |
|
|
virtual void paintString(::java::awt::Graphics *, jint, jint, jint, jint, jint, ::java::awt::Insets *);
|
85 |
|
|
virtual void setAnimationIndex(jint);
|
86 |
|
|
virtual void setCellLength(jint);
|
87 |
|
|
virtual void setCellSpacing(jint);
|
88 |
|
|
virtual void startAnimationTimer();
|
89 |
|
|
virtual void stopAnimationTimer();
|
90 |
|
|
virtual void installDefaults();
|
91 |
|
|
virtual void uninstallDefaults();
|
92 |
|
|
virtual void installListeners();
|
93 |
|
|
virtual void uninstallListeners();
|
94 |
|
|
public:
|
95 |
|
|
virtual void installUI(::javax::swing::JComponent *);
|
96 |
|
|
virtual void uninstallUI(::javax::swing::JComponent *);
|
97 |
|
|
public: // actually protected
|
98 |
|
|
::java::awt::Rectangle * __attribute__((aligned(__alignof__( ::javax::swing::plaf::ProgressBarUI)))) boxRect;
|
99 |
|
|
private:
|
100 |
|
|
::javax::swing::Timer * animationTimer;
|
101 |
|
|
jint animationIndex;
|
102 |
|
|
jint numFrames;
|
103 |
|
|
::javax::swing::plaf::basic::BasicProgressBarUI$Animator * animation;
|
104 |
|
|
::javax::swing::plaf::basic::BasicProgressBarUI$PropertyChangeHandler * propertyListener;
|
105 |
|
|
public: // actually protected
|
106 |
|
|
::javax::swing::event::ChangeListener * changeListener;
|
107 |
|
|
::javax::swing::JProgressBar * progressBar;
|
108 |
|
|
public: // actually package-private
|
109 |
|
|
jdouble boxDependent;
|
110 |
|
|
jint boxIndependent;
|
111 |
|
|
jdouble incr;
|
112 |
|
|
private:
|
113 |
|
|
jint cellLength;
|
114 |
|
|
jint cellSpacing;
|
115 |
|
|
::java::awt::Color * selectionBackground;
|
116 |
|
|
::java::awt::Color * selectionForeground;
|
117 |
|
|
::javax::swing::event::AncestorListener * ancestorListener;
|
118 |
|
|
::java::awt::event::ComponentListener * componentListener;
|
119 |
|
|
public:
|
120 |
|
|
static ::java::lang::Class class$;
|
121 |
|
|
};
|
122 |
|
|
|
123 |
|
|
#endif // __javax_swing_plaf_basic_BasicProgressBarUI__
|