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