AWTEventMulticaster.h 9.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_awt_AWTEventMulticaster__
  3. #define __java_awt_AWTEventMulticaster__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace awt
  12. {
  13. class AWTEventMulticaster;
  14. namespace event
  15. {
  16. class ActionEvent;
  17. class ActionListener;
  18. class AdjustmentEvent;
  19. class AdjustmentListener;
  20. class ComponentEvent;
  21. class ComponentListener;
  22. class ContainerEvent;
  23. class ContainerListener;
  24. class FocusEvent;
  25. class FocusListener;
  26. class HierarchyBoundsListener;
  27. class HierarchyEvent;
  28. class HierarchyListener;
  29. class InputMethodEvent;
  30. class InputMethodListener;
  31. class ItemEvent;
  32. class ItemListener;
  33. class KeyEvent;
  34. class KeyListener;
  35. class MouseEvent;
  36. class MouseListener;
  37. class MouseMotionListener;
  38. class MouseWheelEvent;
  39. class MouseWheelListener;
  40. class TextEvent;
  41. class TextListener;
  42. class WindowEvent;
  43. class WindowFocusListener;
  44. class WindowListener;
  45. class WindowStateListener;
  46. }
  47. }
  48. }
  49. }
  50. class java::awt::AWTEventMulticaster : public ::java::lang::Object
  51. {
  52. public: // actually protected
  53. AWTEventMulticaster(::java::util::EventListener *, ::java::util::EventListener *);
  54. virtual ::java::util::EventListener * remove(::java::util::EventListener *);
  55. public:
  56. virtual void componentResized(::java::awt::event::ComponentEvent *);
  57. virtual void componentMoved(::java::awt::event::ComponentEvent *);
  58. virtual void componentShown(::java::awt::event::ComponentEvent *);
  59. virtual void componentHidden(::java::awt::event::ComponentEvent *);
  60. virtual void componentAdded(::java::awt::event::ContainerEvent *);
  61. virtual void componentRemoved(::java::awt::event::ContainerEvent *);
  62. virtual void focusGained(::java::awt::event::FocusEvent *);
  63. virtual void focusLost(::java::awt::event::FocusEvent *);
  64. virtual void keyTyped(::java::awt::event::KeyEvent *);
  65. virtual void keyPressed(::java::awt::event::KeyEvent *);
  66. virtual void keyReleased(::java::awt::event::KeyEvent *);
  67. virtual void mouseClicked(::java::awt::event::MouseEvent *);
  68. virtual void mousePressed(::java::awt::event::MouseEvent *);
  69. virtual void mouseReleased(::java::awt::event::MouseEvent *);
  70. virtual void mouseEntered(::java::awt::event::MouseEvent *);
  71. virtual void mouseExited(::java::awt::event::MouseEvent *);
  72. virtual void mouseDragged(::java::awt::event::MouseEvent *);
  73. virtual void mouseMoved(::java::awt::event::MouseEvent *);
  74. virtual void windowOpened(::java::awt::event::WindowEvent *);
  75. virtual void windowClosing(::java::awt::event::WindowEvent *);
  76. virtual void windowClosed(::java::awt::event::WindowEvent *);
  77. virtual void windowIconified(::java::awt::event::WindowEvent *);
  78. virtual void windowDeiconified(::java::awt::event::WindowEvent *);
  79. virtual void windowActivated(::java::awt::event::WindowEvent *);
  80. virtual void windowDeactivated(::java::awt::event::WindowEvent *);
  81. virtual void windowStateChanged(::java::awt::event::WindowEvent *);
  82. virtual void windowGainedFocus(::java::awt::event::WindowEvent *);
  83. virtual void windowLostFocus(::java::awt::event::WindowEvent *);
  84. virtual void actionPerformed(::java::awt::event::ActionEvent *);
  85. virtual void itemStateChanged(::java::awt::event::ItemEvent *);
  86. virtual void adjustmentValueChanged(::java::awt::event::AdjustmentEvent *);
  87. virtual void textValueChanged(::java::awt::event::TextEvent *);
  88. virtual void inputMethodTextChanged(::java::awt::event::InputMethodEvent *);
  89. virtual void caretPositionChanged(::java::awt::event::InputMethodEvent *);
  90. virtual void hierarchyChanged(::java::awt::event::HierarchyEvent *);
  91. virtual void ancestorMoved(::java::awt::event::HierarchyEvent *);
  92. virtual void ancestorResized(::java::awt::event::HierarchyEvent *);
  93. virtual void mouseWheelMoved(::java::awt::event::MouseWheelEvent *);
  94. static ::java::awt::event::ComponentListener * add(::java::awt::event::ComponentListener *, ::java::awt::event::ComponentListener *);
  95. static ::java::awt::event::ContainerListener * add(::java::awt::event::ContainerListener *, ::java::awt::event::ContainerListener *);
  96. static ::java::awt::event::FocusListener * add(::java::awt::event::FocusListener *, ::java::awt::event::FocusListener *);
  97. static ::java::awt::event::KeyListener * add(::java::awt::event::KeyListener *, ::java::awt::event::KeyListener *);
  98. static ::java::awt::event::MouseListener * add(::java::awt::event::MouseListener *, ::java::awt::event::MouseListener *);
  99. static ::java::awt::event::MouseMotionListener * add(::java::awt::event::MouseMotionListener *, ::java::awt::event::MouseMotionListener *);
  100. static ::java::awt::event::WindowListener * add(::java::awt::event::WindowListener *, ::java::awt::event::WindowListener *);
  101. static ::java::awt::event::WindowStateListener * add(::java::awt::event::WindowStateListener *, ::java::awt::event::WindowStateListener *);
  102. static ::java::awt::event::WindowFocusListener * add(::java::awt::event::WindowFocusListener *, ::java::awt::event::WindowFocusListener *);
  103. static ::java::awt::event::ActionListener * add(::java::awt::event::ActionListener *, ::java::awt::event::ActionListener *);
  104. static ::java::awt::event::ItemListener * add(::java::awt::event::ItemListener *, ::java::awt::event::ItemListener *);
  105. static ::java::awt::event::AdjustmentListener * add(::java::awt::event::AdjustmentListener *, ::java::awt::event::AdjustmentListener *);
  106. static ::java::awt::event::TextListener * add(::java::awt::event::TextListener *, ::java::awt::event::TextListener *);
  107. static ::java::awt::event::InputMethodListener * add(::java::awt::event::InputMethodListener *, ::java::awt::event::InputMethodListener *);
  108. static ::java::awt::event::HierarchyListener * add(::java::awt::event::HierarchyListener *, ::java::awt::event::HierarchyListener *);
  109. static ::java::awt::event::HierarchyBoundsListener * add(::java::awt::event::HierarchyBoundsListener *, ::java::awt::event::HierarchyBoundsListener *);
  110. static ::java::awt::event::MouseWheelListener * add(::java::awt::event::MouseWheelListener *, ::java::awt::event::MouseWheelListener *);
  111. static ::java::awt::event::ComponentListener * remove(::java::awt::event::ComponentListener *, ::java::awt::event::ComponentListener *);
  112. static ::java::awt::event::ContainerListener * remove(::java::awt::event::ContainerListener *, ::java::awt::event::ContainerListener *);
  113. static ::java::awt::event::FocusListener * remove(::java::awt::event::FocusListener *, ::java::awt::event::FocusListener *);
  114. static ::java::awt::event::KeyListener * remove(::java::awt::event::KeyListener *, ::java::awt::event::KeyListener *);
  115. static ::java::awt::event::MouseListener * remove(::java::awt::event::MouseListener *, ::java::awt::event::MouseListener *);
  116. static ::java::awt::event::MouseMotionListener * remove(::java::awt::event::MouseMotionListener *, ::java::awt::event::MouseMotionListener *);
  117. static ::java::awt::event::WindowListener * remove(::java::awt::event::WindowListener *, ::java::awt::event::WindowListener *);
  118. static ::java::awt::event::WindowStateListener * remove(::java::awt::event::WindowStateListener *, ::java::awt::event::WindowStateListener *);
  119. static ::java::awt::event::WindowFocusListener * remove(::java::awt::event::WindowFocusListener *, ::java::awt::event::WindowFocusListener *);
  120. static ::java::awt::event::ActionListener * remove(::java::awt::event::ActionListener *, ::java::awt::event::ActionListener *);
  121. static ::java::awt::event::ItemListener * remove(::java::awt::event::ItemListener *, ::java::awt::event::ItemListener *);
  122. static ::java::awt::event::AdjustmentListener * remove(::java::awt::event::AdjustmentListener *, ::java::awt::event::AdjustmentListener *);
  123. static ::java::awt::event::TextListener * remove(::java::awt::event::TextListener *, ::java::awt::event::TextListener *);
  124. static ::java::awt::event::InputMethodListener * remove(::java::awt::event::InputMethodListener *, ::java::awt::event::InputMethodListener *);
  125. static ::java::awt::event::HierarchyListener * remove(::java::awt::event::HierarchyListener *, ::java::awt::event::HierarchyListener *);
  126. static ::java::awt::event::HierarchyBoundsListener * remove(::java::awt::event::HierarchyBoundsListener *, ::java::awt::event::HierarchyBoundsListener *);
  127. static ::java::awt::event::MouseWheelListener * remove(::java::awt::event::MouseWheelListener *, ::java::awt::event::MouseWheelListener *);
  128. public: // actually protected
  129. static ::java::util::EventListener * addInternal(::java::util::EventListener *, ::java::util::EventListener *);
  130. static ::java::util::EventListener * removeInternal(::java::util::EventListener *, ::java::util::EventListener *);
  131. virtual void saveInternal(::java::io::ObjectOutputStream *, ::java::lang::String *);
  132. static void save(::java::io::ObjectOutputStream *, ::java::lang::String *, ::java::util::EventListener *);
  133. public:
  134. static JArray< ::java::util::EventListener * > * getListeners(::java::util::EventListener *, ::java::lang::Class *);
  135. private:
  136. void getListeners(::java::util::ArrayList *, ::java::lang::Class *);
  137. public: // actually protected
  138. ::java::util::EventListener * __attribute__((aligned(__alignof__( ::java::lang::Object)))) a;
  139. ::java::util::EventListener * b;
  140. public:
  141. static ::java::lang::Class class$;
  142. };
  143. #endif // __java_awt_AWTEventMulticaster__