MenuSelectionManager.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_MenuSelectionManager__
  3. #define __javax_swing_MenuSelectionManager__
  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. class Point;
  15. namespace event
  16. {
  17. class KeyEvent;
  18. class MouseEvent;
  19. }
  20. }
  21. }
  22. namespace javax
  23. {
  24. namespace swing
  25. {
  26. class MenuElement;
  27. class MenuSelectionManager;
  28. namespace event
  29. {
  30. class ChangeEvent;
  31. class ChangeListener;
  32. class EventListenerList;
  33. }
  34. }
  35. }
  36. }
  37. class javax::swing::MenuSelectionManager : public ::java::lang::Object
  38. {
  39. public:
  40. MenuSelectionManager();
  41. public: // actually protected
  42. virtual void fireStateChanged();
  43. public:
  44. virtual void addChangeListener(::javax::swing::event::ChangeListener *);
  45. virtual void removeChangeListener(::javax::swing::event::ChangeListener *);
  46. virtual JArray< ::javax::swing::event::ChangeListener * > * getChangeListeners();
  47. virtual void clearSelectedPath();
  48. virtual ::java::awt::Component * componentForPoint(::java::awt::Component *, ::java::awt::Point *);
  49. static ::javax::swing::MenuSelectionManager * defaultManager();
  50. virtual JArray< ::javax::swing::MenuElement * > * getSelectedPath();
  51. virtual jboolean isComponentPartOfCurrentMenu(::java::awt::Component *);
  52. virtual void processKeyEvent(::java::awt::event::KeyEvent *);
  53. virtual void processMouseEvent(::java::awt::event::MouseEvent *);
  54. virtual void setSelectedPath(JArray< ::javax::swing::MenuElement * > *);
  55. private:
  56. JArray< ::javax::swing::MenuElement * > * getPath(::java::awt::Component *);
  57. public: // actually protected
  58. ::javax::swing::event::ChangeEvent * __attribute__((aligned(__alignof__( ::java::lang::Object)))) changeEvent;
  59. ::javax::swing::event::EventListenerList * listenerList;
  60. private:
  61. static ::javax::swing::MenuSelectionManager * manager;
  62. ::java::util::Vector * selectedPath;
  63. public:
  64. static ::java::lang::Class class$;
  65. };
  66. #endif // __javax_swing_MenuSelectionManager__