UIDefaults.h 3.9 KB

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