MenuElement.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_MenuElement__
  3. #define __javax_swing_MenuElement__
  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 Component;
  14. namespace event
  15. {
  16. class KeyEvent;
  17. class MouseEvent;
  18. }
  19. }
  20. }
  21. namespace javax
  22. {
  23. namespace swing
  24. {
  25. class MenuElement;
  26. class MenuSelectionManager;
  27. }
  28. }
  29. }
  30. class javax::swing::MenuElement : public ::java::lang::Object
  31. {
  32. public:
  33. virtual void processMouseEvent(::java::awt::event::MouseEvent *, JArray< ::javax::swing::MenuElement * > *, ::javax::swing::MenuSelectionManager *) = 0;
  34. virtual void processKeyEvent(::java::awt::event::KeyEvent *, JArray< ::javax::swing::MenuElement * > *, ::javax::swing::MenuSelectionManager *) = 0;
  35. virtual void menuSelectionChanged(jboolean) = 0;
  36. virtual JArray< ::javax::swing::MenuElement * > * getSubElements() = 0;
  37. virtual ::java::awt::Component * getComponent() = 0;
  38. static ::java::lang::Class class$;
  39. } __attribute__ ((java_interface));
  40. #endif // __javax_swing_MenuElement__