1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_plaf_basic_BasicLabelUI__
|
5 |
|
|
#define __javax_swing_plaf_basic_BasicLabelUI__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <javax/swing/plaf/LabelUI.h>
|
10 |
|
|
extern "Java"
|
11 |
|
|
{
|
12 |
|
|
namespace java
|
13 |
|
|
{
|
14 |
|
|
namespace awt
|
15 |
|
|
{
|
16 |
|
|
class Dimension;
|
17 |
|
|
class FontMetrics;
|
18 |
|
|
class Graphics;
|
19 |
|
|
class Insets;
|
20 |
|
|
class Rectangle;
|
21 |
|
|
}
|
22 |
|
|
namespace beans
|
23 |
|
|
{
|
24 |
|
|
class PropertyChangeEvent;
|
25 |
|
|
}
|
26 |
|
|
}
|
27 |
|
|
namespace javax
|
28 |
|
|
{
|
29 |
|
|
namespace swing
|
30 |
|
|
{
|
31 |
|
|
class Icon;
|
32 |
|
|
class JComponent;
|
33 |
|
|
class JLabel;
|
34 |
|
|
namespace plaf
|
35 |
|
|
{
|
36 |
|
|
class ComponentUI;
|
37 |
|
|
namespace basic
|
38 |
|
|
{
|
39 |
|
|
class BasicLabelUI;
|
40 |
|
|
}
|
41 |
|
|
}
|
42 |
|
|
}
|
43 |
|
|
}
|
44 |
|
|
}
|
45 |
|
|
|
46 |
|
|
class javax::swing::plaf::basic::BasicLabelUI : public ::javax::swing::plaf::LabelUI
|
47 |
|
|
{
|
48 |
|
|
|
49 |
|
|
public:
|
50 |
|
|
BasicLabelUI();
|
51 |
|
|
static ::javax::swing::plaf::ComponentUI * createUI(::javax::swing::JComponent *);
|
52 |
|
|
virtual ::java::awt::Dimension * getPreferredSize(::javax::swing::JComponent *);
|
53 |
|
|
virtual ::java::awt::Dimension * getMinimumSize(::javax::swing::JComponent *);
|
54 |
|
|
virtual ::java::awt::Dimension * getMaximumSize(::javax::swing::JComponent *);
|
55 |
|
|
virtual void paint(::java::awt::Graphics *, ::javax::swing::JComponent *);
|
56 |
|
|
public: // actually protected
|
57 |
|
|
virtual ::java::lang::String * layoutCL(::javax::swing::JLabel *, ::java::awt::FontMetrics *, ::java::lang::String *, ::javax::swing::Icon *, ::java::awt::Rectangle *, ::java::awt::Rectangle *, ::java::awt::Rectangle *);
|
58 |
|
|
virtual void paintDisabledText(::javax::swing::JLabel *, ::java::awt::Graphics *, ::java::lang::String *, jint, jint);
|
59 |
|
|
virtual void paintEnabledText(::javax::swing::JLabel *, ::java::awt::Graphics *, ::java::lang::String *, jint, jint);
|
60 |
|
|
public:
|
61 |
|
|
virtual void installUI(::javax::swing::JComponent *);
|
62 |
|
|
virtual void uninstallUI(::javax::swing::JComponent *);
|
63 |
|
|
public: // actually protected
|
64 |
|
|
virtual void installComponents(::javax::swing::JLabel *);
|
65 |
|
|
virtual void uninstallComponents(::javax::swing::JLabel *);
|
66 |
|
|
virtual void installDefaults(::javax::swing::JLabel *);
|
67 |
|
|
virtual void uninstallDefaults(::javax::swing::JLabel *);
|
68 |
|
|
virtual void installKeyboardActions(::javax::swing::JLabel *);
|
69 |
|
|
virtual void uninstallKeyboardActions(::javax::swing::JLabel *);
|
70 |
|
|
virtual void installListeners(::javax::swing::JLabel *);
|
71 |
|
|
virtual void uninstallListeners(::javax::swing::JLabel *);
|
72 |
|
|
public:
|
73 |
|
|
virtual void propertyChange(::java::beans::PropertyChangeEvent *);
|
74 |
|
|
private:
|
75 |
|
|
::java::awt::FontMetrics * getFontMetrics(::javax::swing::JLabel *);
|
76 |
|
|
public: // actually protected
|
77 |
|
|
static ::javax::swing::plaf::basic::BasicLabelUI * labelUI;
|
78 |
|
|
private:
|
79 |
|
|
::java::awt::Rectangle * __attribute__((aligned(__alignof__( ::javax::swing::plaf::LabelUI)))) vr;
|
80 |
|
|
::java::awt::Rectangle * ir;
|
81 |
|
|
::java::awt::Rectangle * tr;
|
82 |
|
|
::java::awt::Insets * cachedInsets;
|
83 |
|
|
public:
|
84 |
|
|
static ::java::lang::Class class$;
|
85 |
|
|
};
|
86 |
|
|
|
87 |
|
|
#endif // __javax_swing_plaf_basic_BasicLabelUI__
|