Button.h 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_awt_Button__
  3. #define __java_awt_Button__
  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 Button;
  15. namespace event
  16. {
  17. class ActionEvent;
  18. class ActionListener;
  19. }
  20. }
  21. }
  22. namespace javax
  23. {
  24. namespace accessibility
  25. {
  26. class AccessibleContext;
  27. }
  28. }
  29. }
  30. class java::awt::Button : public ::java::awt::Component
  31. {
  32. public:
  33. Button();
  34. Button(::java::lang::String *);
  35. virtual ::java::lang::String * getLabel();
  36. virtual void setLabel(::java::lang::String *);
  37. virtual ::java::lang::String * getActionCommand();
  38. virtual void setActionCommand(::java::lang::String *);
  39. virtual void addActionListener(::java::awt::event::ActionListener *);
  40. virtual void removeActionListener(::java::awt::event::ActionListener *);
  41. virtual JArray< ::java::awt::event::ActionListener * > * getActionListeners();
  42. virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
  43. virtual void addNotify();
  44. public: // actually protected
  45. virtual void processEvent(::java::awt::AWTEvent *);
  46. virtual void processActionEvent(::java::awt::event::ActionEvent *);
  47. public: // actually package-private
  48. virtual void dispatchEventImpl(::java::awt::AWTEvent *);
  49. public: // actually protected
  50. virtual ::java::lang::String * paramString();
  51. public:
  52. virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
  53. public: // actually package-private
  54. virtual ::java::lang::String * generateName();
  55. private:
  56. static jlong getUniqueLong();
  57. static const jlong serialVersionUID = -8774683716313001058LL;
  58. public: // actually package-private
  59. ::java::lang::String * __attribute__((aligned(__alignof__( ::java::awt::Component)))) actionCommand;
  60. ::java::lang::String * label;
  61. private:
  62. ::java::awt::event::ActionListener * action_listeners;
  63. static jlong next_button_number;
  64. public:
  65. static ::java::lang::Class class$;
  66. };
  67. #endif // __java_awt_Button__