CheckboxMenuItem.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_awt_CheckboxMenuItem__
  3. #define __java_awt_CheckboxMenuItem__
  4. #pragma interface
  5. #include <java/awt/MenuItem.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace awt
  12. {
  13. class AWTEvent;
  14. class CheckboxMenuItem;
  15. namespace event
  16. {
  17. class ItemEvent;
  18. class ItemListener;
  19. }
  20. }
  21. }
  22. namespace javax
  23. {
  24. namespace accessibility
  25. {
  26. class AccessibleContext;
  27. }
  28. }
  29. }
  30. class java::awt::CheckboxMenuItem : public ::java::awt::MenuItem
  31. {
  32. public:
  33. CheckboxMenuItem();
  34. CheckboxMenuItem(::java::lang::String *);
  35. CheckboxMenuItem(::java::lang::String *, jboolean);
  36. virtual jboolean getState();
  37. virtual void setState(jboolean);
  38. virtual JArray< ::java::lang::Object * > * getSelectedObjects();
  39. virtual void addNotify();
  40. virtual void addItemListener(::java::awt::event::ItemListener *);
  41. virtual void removeItemListener(::java::awt::event::ItemListener *);
  42. public: // actually protected
  43. virtual void processEvent(::java::awt::AWTEvent *);
  44. virtual void processItemEvent(::java::awt::event::ItemEvent *);
  45. public: // actually package-private
  46. virtual void dispatchEventImpl(::java::awt::AWTEvent *);
  47. public:
  48. virtual ::java::lang::String * paramString();
  49. virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
  50. virtual JArray< ::java::awt::event::ItemListener * > * getItemListeners();
  51. virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
  52. public: // actually package-private
  53. virtual ::java::lang::String * generateName();
  54. private:
  55. static jlong getUniqueLong();
  56. static jlong next_chkmenuitem_number;
  57. static const jlong serialVersionUID = 6190621106981774043LL;
  58. jboolean __attribute__((aligned(__alignof__( ::java::awt::MenuItem)))) state;
  59. ::java::awt::event::ItemListener * item_listeners;
  60. public:
  61. static ::java::lang::Class class$;
  62. };
  63. #endif // __java_awt_CheckboxMenuItem__