2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_ImageIcon__
5 #define __javax_swing_ImageIcon__
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
34 namespace accessibility
36 class AccessibleContext
;
45 class javax::swing::ImageIcon
: public ::java::lang::Object
50 ImageIcon(::java::lang::String
*);
51 ImageIcon(::java::lang::String
*, ::java::lang::String
*);
52 ImageIcon(JArray
< jbyte
> *);
53 ImageIcon(JArray
< jbyte
> *, ::java::lang::String
*);
54 ImageIcon(::java::net::URL
*);
55 ImageIcon(::java::net::URL
*, ::java::lang::String
*);
56 ImageIcon(::java::awt::Image
*);
57 ImageIcon(::java::awt::Image
*, ::java::lang::String
*);
58 virtual ::java::awt::image::ImageObserver
* getImageObserver();
59 virtual void setImageObserver(::java::awt::image::ImageObserver
*);
60 virtual ::java::awt::Image
* getImage();
61 virtual void setImage(::java::awt::Image
*);
62 virtual ::java::lang::String
* getDescription();
63 virtual void setDescription(::java::lang::String
*);
64 virtual jint
getIconHeight();
65 virtual jint
getIconWidth();
66 virtual void paintIcon(::java::awt::Component
*, ::java::awt::Graphics
*, jint
, jint
);
67 public: // actually protected
68 virtual void loadImage(::java::awt::Image
*);
70 virtual jint
getImageLoadStatus();
71 virtual ::javax::accessibility::AccessibleContext
* getAccessibleContext();
73 static const jlong serialVersionUID
= 532615968316031794LL;
74 public: // actually protected
75 static ::java::awt::Component
* component
;
76 static ::java::awt::MediaTracker
* tracker
;
79 public: // actually package-private
80 ::java::awt::Image
* __attribute__((aligned(__alignof__( ::java::lang::Object
)))) image
;
81 ::java::lang::String
* description
;
82 ::java::awt::image::ImageObserver
* observer
;
85 ::javax::accessibility::AccessibleContext
* accessibleContext
;
87 static ::java::lang::Class
class$
;
90 #endif // __javax_swing_ImageIcon__