ImageIcon.h 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_ImageIcon__
  3. #define __javax_swing_ImageIcon__
  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 Component;
  14. class Graphics;
  15. class Image;
  16. class MediaTracker;
  17. namespace image
  18. {
  19. class ImageObserver;
  20. }
  21. }
  22. namespace net
  23. {
  24. class URL;
  25. }
  26. }
  27. namespace javax
  28. {
  29. namespace accessibility
  30. {
  31. class AccessibleContext;
  32. }
  33. namespace swing
  34. {
  35. class ImageIcon;
  36. }
  37. }
  38. }
  39. class javax::swing::ImageIcon : public ::java::lang::Object
  40. {
  41. public:
  42. ImageIcon();
  43. ImageIcon(::java::lang::String *);
  44. ImageIcon(::java::lang::String *, ::java::lang::String *);
  45. ImageIcon(JArray< jbyte > *);
  46. ImageIcon(JArray< jbyte > *, ::java::lang::String *);
  47. ImageIcon(::java::net::URL *);
  48. ImageIcon(::java::net::URL *, ::java::lang::String *);
  49. ImageIcon(::java::awt::Image *);
  50. ImageIcon(::java::awt::Image *, ::java::lang::String *);
  51. virtual ::java::awt::image::ImageObserver * getImageObserver();
  52. virtual void setImageObserver(::java::awt::image::ImageObserver *);
  53. virtual ::java::awt::Image * getImage();
  54. virtual void setImage(::java::awt::Image *);
  55. virtual ::java::lang::String * getDescription();
  56. virtual void setDescription(::java::lang::String *);
  57. virtual jint getIconHeight();
  58. virtual jint getIconWidth();
  59. virtual void paintIcon(::java::awt::Component *, ::java::awt::Graphics *, jint, jint);
  60. public: // actually protected
  61. virtual void loadImage(::java::awt::Image *);
  62. public:
  63. virtual jint getImageLoadStatus();
  64. virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
  65. private:
  66. static const jlong serialVersionUID = 532615968316031794LL;
  67. public: // actually protected
  68. static ::java::awt::Component * component;
  69. static ::java::awt::MediaTracker * tracker;
  70. private:
  71. static jint id;
  72. public: // actually package-private
  73. ::java::awt::Image * __attribute__((aligned(__alignof__( ::java::lang::Object)))) image;
  74. ::java::lang::String * description;
  75. ::java::awt::image::ImageObserver * observer;
  76. private:
  77. jint loadStatus;
  78. ::javax::accessibility::AccessibleContext * accessibleContext;
  79. public:
  80. static ::java::lang::Class class$;
  81. };
  82. #endif // __javax_swing_ImageIcon__