KeyboardManager.h 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __javax_swing_KeyboardManager__
  3. #define __javax_swing_KeyboardManager__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. extern "Java"
  7. {
  8. namespace java
  9. {
  10. namespace awt
  11. {
  12. class Component;
  13. class Container;
  14. namespace event
  15. {
  16. class KeyEvent;
  17. }
  18. }
  19. }
  20. namespace javax
  21. {
  22. namespace swing
  23. {
  24. class ComponentInputMap;
  25. class JComponent;
  26. class JMenuBar;
  27. class KeyStroke;
  28. class KeyboardManager;
  29. }
  30. }
  31. }
  32. class javax::swing::KeyboardManager : public ::java::lang::Object
  33. {
  34. public: // actually package-private
  35. KeyboardManager();
  36. public:
  37. static ::javax::swing::KeyboardManager * getManager();
  38. public: // actually package-private
  39. static ::java::awt::Container * findTopLevel(::java::awt::Component *);
  40. virtual ::java::util::Hashtable * getHashtableForTopLevel(::java::awt::Container *);
  41. public:
  42. virtual void registerBinding(::javax::swing::JComponent *, ::javax::swing::KeyStroke *);
  43. virtual void clearBindingsForComp(::javax::swing::JComponent *);
  44. virtual void registerEntireMap(::javax::swing::ComponentInputMap *);
  45. virtual jboolean processKeyStroke(::java::awt::Component *, ::javax::swing::KeyStroke *, ::java::awt::event::KeyEvent *);
  46. public: // actually package-private
  47. virtual ::java::util::Vector * getVectorForTopLevel(::java::awt::Container *);
  48. public:
  49. virtual void registerJMenuBar(::javax::swing::JMenuBar *);
  50. virtual void unregisterJMenuBar(::javax::swing::JMenuBar *);
  51. public: // actually package-private
  52. static ::javax::swing::KeyboardManager * manager;
  53. ::java::util::WeakHashMap * __attribute__((aligned(__alignof__( ::java::lang::Object)))) topLevelLookup;
  54. ::java::util::Hashtable * menuBarLookup;
  55. public:
  56. static ::java::lang::Class class$;
  57. };
  58. #endif // __javax_swing_KeyboardManager__