UIManager.h 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_UIManager__
  3. #define __javax_swing_UIManager__
  4. #pragma interface
  5. #include <java/lang/Object.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 LookAndFeel;
  31. class UIDefaults;
  32. class UIManager;
  33. class UIManager$LookAndFeelInfo;
  34. class UIManager$MultiplexUIDefaults;
  35. namespace border
  36. {
  37. class Border;
  38. }
  39. namespace plaf
  40. {
  41. class ComponentUI;
  42. }
  43. }
  44. }
  45. }
  46. class javax::swing::UIManager : public ::java::lang::Object
  47. {
  48. public:
  49. UIManager();
  50. static void addPropertyChangeListener(::java::beans::PropertyChangeListener *);
  51. static void removePropertyChangeListener(::java::beans::PropertyChangeListener *);
  52. static JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners();
  53. static void addAuxiliaryLookAndFeel(::javax::swing::LookAndFeel *);
  54. static jboolean removeAuxiliaryLookAndFeel(::javax::swing::LookAndFeel *);
  55. static JArray< ::javax::swing::LookAndFeel * > * getAuxiliaryLookAndFeels();
  56. static ::java::lang::Object * get(::java::lang::Object *);
  57. static ::java::lang::Object * get(::java::lang::Object *, ::java::util::Locale *);
  58. static jboolean getBoolean(::java::lang::Object *);
  59. static jboolean getBoolean(::java::lang::Object *, ::java::util::Locale *);
  60. static ::javax::swing::border::Border * getBorder(::java::lang::Object *);
  61. static ::javax::swing::border::Border * getBorder(::java::lang::Object *, ::java::util::Locale *);
  62. static ::java::awt::Color * getColor(::java::lang::Object *);
  63. static ::java::awt::Color * getColor(::java::lang::Object *, ::java::util::Locale *);
  64. static ::java::lang::String * getCrossPlatformLookAndFeelClassName();
  65. static ::javax::swing::UIDefaults * getDefaults();
  66. static ::java::awt::Dimension * getDimension(::java::lang::Object *);
  67. static ::java::awt::Dimension * getDimension(::java::lang::Object *, ::java::util::Locale *);
  68. static ::java::awt::Font * getFont(::java::lang::Object *);
  69. static ::java::awt::Font * getFont(::java::lang::Object *, ::java::util::Locale *);
  70. static ::javax::swing::Icon * getIcon(::java::lang::Object *);
  71. static ::javax::swing::Icon * getIcon(::java::lang::Object *, ::java::util::Locale *);
  72. static ::java::awt::Insets * getInsets(::java::lang::Object *);
  73. static ::java::awt::Insets * getInsets(::java::lang::Object *, ::java::util::Locale *);
  74. static JArray< ::javax::swing::UIManager$LookAndFeelInfo * > * getInstalledLookAndFeels();
  75. static jint getInt(::java::lang::Object *);
  76. static jint getInt(::java::lang::Object *, ::java::util::Locale *);
  77. static ::javax::swing::LookAndFeel * getLookAndFeel();
  78. static ::javax::swing::UIDefaults * getLookAndFeelDefaults();
  79. static ::java::lang::String * getString(::java::lang::Object *);
  80. static ::java::lang::String * getString(::java::lang::Object *, ::java::util::Locale *);
  81. static ::java::lang::String * getSystemLookAndFeelClassName();
  82. static ::javax::swing::plaf::ComponentUI * getUI(::javax::swing::JComponent *);
  83. static void installLookAndFeel(::java::lang::String *, ::java::lang::String *);
  84. static void installLookAndFeel(::javax::swing::UIManager$LookAndFeelInfo *);
  85. static ::java::lang::Object * put(::java::lang::Object *, ::java::lang::Object *);
  86. static void setInstalledLookAndFeels(JArray< ::javax::swing::UIManager$LookAndFeelInfo * > *);
  87. static void setLookAndFeel(::javax::swing::LookAndFeel *);
  88. static void setLookAndFeel(::java::lang::String *);
  89. private:
  90. static const jlong serialVersionUID = -5547433830339189365LL;
  91. public: // actually package-private
  92. static JArray< ::javax::swing::UIManager$LookAndFeelInfo * > * installed;
  93. static JArray< ::javax::swing::LookAndFeel * > * auxLookAndFeels;
  94. static ::javax::swing::LookAndFeel * currentLookAndFeel;
  95. static ::javax::swing::UIManager$MultiplexUIDefaults * currentUIDefaults;
  96. static ::javax::swing::UIDefaults * lookAndFeelDefaults;
  97. static ::java::beans::PropertyChangeSupport * listeners;
  98. public:
  99. static ::java::lang::Class class$;
  100. };
  101. #endif // __javax_swing_UIManager__