2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_awt_CheckboxMenuItem__
5 #define __java_awt_CheckboxMenuItem__
9 #include <java/awt/MenuItem.h>
10 #include <gcj/array.h>
19 class CheckboxMenuItem
;
29 namespace accessibility
31 class AccessibleContext
;
36 class java::awt::CheckboxMenuItem
: public ::java::awt::MenuItem
41 CheckboxMenuItem(::java::lang::String
*);
42 CheckboxMenuItem(::java::lang::String
*, jboolean
);
43 virtual jboolean
getState();
44 virtual void setState(jboolean
);
45 virtual JArray
< ::java::lang::Object
* > * getSelectedObjects();
46 virtual void addNotify();
47 virtual void addItemListener(::java::awt::event::ItemListener
*);
48 virtual void removeItemListener(::java::awt::event::ItemListener
*);
49 public: // actually protected
50 virtual void processEvent(::java::awt::AWTEvent
*);
51 virtual void processItemEvent(::java::awt::event::ItemEvent
*);
52 public: // actually package-private
53 virtual void dispatchEventImpl(::java::awt::AWTEvent
*);
55 virtual ::java::lang::String
* paramString();
56 virtual JArray
< ::java::util::EventListener
* > * getListeners(::java::lang::Class
*);
57 virtual JArray
< ::java::awt::event::ItemListener
* > * getItemListeners();
58 virtual ::javax::accessibility::AccessibleContext
* getAccessibleContext();
59 public: // actually package-private
60 virtual ::java::lang::String
* generateName();
62 static jlong
getUniqueLong();
63 static jlong next_chkmenuitem_number
;
64 static const jlong serialVersionUID
= 6190621106981774043LL;
65 jboolean
__attribute__((aligned(__alignof__( ::java::awt::MenuItem
)))) state
;
66 ::java::awt::event::ItemListener
* item_listeners
;
68 static ::java::lang::Class
class$
;
71 #endif // __java_awt_CheckboxMenuItem__