1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_UIDefaults__
|
5 |
|
|
#define __javax_swing_UIDefaults__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/util/Hashtable.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace awt
|
17 |
|
|
{
|
18 |
|
|
class Color;
|
19 |
|
|
class Dimension;
|
20 |
|
|
class Font;
|
21 |
|
|
class Insets;
|
22 |
|
|
}
|
23 |
|
|
namespace beans
|
24 |
|
|
{
|
25 |
|
|
class PropertyChangeListener;
|
26 |
|
|
class PropertyChangeSupport;
|
27 |
|
|
}
|
28 |
|
|
}
|
29 |
|
|
namespace javax
|
30 |
|
|
{
|
31 |
|
|
namespace swing
|
32 |
|
|
{
|
33 |
|
|
class Icon;
|
34 |
|
|
class JComponent;
|
35 |
|
|
class UIDefaults;
|
36 |
|
|
namespace border
|
37 |
|
|
{
|
38 |
|
|
class Border;
|
39 |
|
|
}
|
40 |
|
|
namespace plaf
|
41 |
|
|
{
|
42 |
|
|
class ComponentUI;
|
43 |
|
|
}
|
44 |
|
|
}
|
45 |
|
|
}
|
46 |
|
|
}
|
47 |
|
|
|
48 |
|
|
class javax::swing::UIDefaults : public ::java::util::Hashtable
|
49 |
|
|
{
|
50 |
|
|
|
51 |
|
|
public:
|
52 |
|
|
UIDefaults();
|
53 |
|
|
UIDefaults(JArray< ::java::lang::Object * > *);
|
54 |
|
|
virtual ::java::lang::Object * get(::java::lang::Object *);
|
55 |
|
|
virtual ::java::lang::Object * get(::java::lang::Object *, ::java::util::Locale *);
|
56 |
|
|
virtual ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *);
|
57 |
|
|
virtual void putDefaults(JArray< ::java::lang::Object * > *);
|
58 |
|
|
private:
|
59 |
|
|
::java::lang::Object * checkAndPut(::java::lang::Object *, ::java::lang::Object *);
|
60 |
|
|
public:
|
61 |
|
|
virtual ::java::awt::Font * getFont(::java::lang::Object *);
|
62 |
|
|
virtual ::java::awt::Font * getFont(::java::lang::Object *, ::java::util::Locale *);
|
63 |
|
|
virtual ::java::awt::Color * getColor(::java::lang::Object *);
|
64 |
|
|
virtual ::java::awt::Color * getColor(::java::lang::Object *, ::java::util::Locale *);
|
65 |
|
|
virtual ::javax::swing::Icon * getIcon(::java::lang::Object *);
|
66 |
|
|
virtual ::javax::swing::Icon * getIcon(::java::lang::Object *, ::java::util::Locale *);
|
67 |
|
|
virtual ::javax::swing::border::Border * getBorder(::java::lang::Object *);
|
68 |
|
|
virtual ::javax::swing::border::Border * getBorder(::java::lang::Object *, ::java::util::Locale *);
|
69 |
|
|
virtual ::java::lang::String * getString(::java::lang::Object *);
|
70 |
|
|
virtual ::java::lang::String * getString(::java::lang::Object *, ::java::util::Locale *);
|
71 |
|
|
virtual jint getInt(::java::lang::Object *);
|
72 |
|
|
virtual jint getInt(::java::lang::Object *, ::java::util::Locale *);
|
73 |
|
|
virtual jboolean getBoolean(::java::lang::Object *);
|
74 |
|
|
virtual jboolean getBoolean(::java::lang::Object *, ::java::util::Locale *);
|
75 |
|
|
virtual ::java::awt::Insets * getInsets(::java::lang::Object *);
|
76 |
|
|
virtual ::java::awt::Insets * getInsets(::java::lang::Object *, ::java::util::Locale *);
|
77 |
|
|
virtual ::java::awt::Dimension * getDimension(::java::lang::Object *);
|
78 |
|
|
virtual ::java::awt::Dimension * getDimension(::java::lang::Object *, ::java::util::Locale *);
|
79 |
|
|
virtual ::java::lang::Class * getUIClass(::java::lang::String *, ::java::lang::ClassLoader *);
|
80 |
|
|
virtual ::java::lang::Class * getUIClass(::java::lang::String *);
|
81 |
|
|
public: // actually protected
|
82 |
|
|
virtual void getUIError(::java::lang::String *);
|
83 |
|
|
public:
|
84 |
|
|
virtual ::javax::swing::plaf::ComponentUI * getUI(::javax::swing::JComponent *);
|
85 |
|
|
virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *);
|
86 |
|
|
virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *);
|
87 |
|
|
virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners();
|
88 |
|
|
public: // actually protected
|
89 |
|
|
virtual void firePropertyChange(::java::lang::String *, ::java::lang::Object *, ::java::lang::Object *);
|
90 |
|
|
public:
|
91 |
|
|
virtual void addResourceBundle(::java::lang::String *);
|
92 |
|
|
virtual void removeResourceBundle(::java::lang::String *);
|
93 |
|
|
virtual void setDefaultLocale(::java::util::Locale *);
|
94 |
|
|
virtual ::java::util::Locale * getDefaultLocale();
|
95 |
|
|
private:
|
96 |
|
|
::java::util::LinkedList * __attribute__((aligned(__alignof__( ::java::util::Hashtable)))) bundles;
|
97 |
|
|
::java::util::Locale * defaultLocale;
|
98 |
|
|
::java::beans::PropertyChangeSupport * propertyChangeSupport;
|
99 |
|
|
static const jlong serialVersionUID = 7341222528856548117LL;
|
100 |
|
|
public:
|
101 |
|
|
static ::java::lang::Class class$;
|
102 |
|
|
};
|
103 |
|
|
|
104 |
|
|
#endif // __javax_swing_UIDefaults__
|