2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __javax_swing_KeyboardManager__
5 #define __javax_swing_KeyboardManager__
9 #include <java/lang/Object.h>
28 class ComponentInputMap
;
32 class KeyboardManager
;
37 class javax::swing::KeyboardManager
: public ::java::lang::Object
40 public: // actually package-private
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
*);
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
*);
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
;
62 static ::java::lang::Class
class$
;
65 #endif // __javax_swing_KeyboardManager__