Checkbox.h 2.4 KB

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