summaryrefslogtreecommitdiff
path: root/libjava/javax/swing/KeyboardManager.h
blob: 28679e6c28ce6b9d150fa481a69adda1d912f9d2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __javax_swing_KeyboardManager__
#define __javax_swing_KeyboardManager__

#pragma interface

#include <java/lang/Object.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class Component;
        class Container;
      namespace event
      {
          class KeyEvent;
      }
    }
  }
  namespace javax
  {
    namespace swing
    {
        class ComponentInputMap;
        class JComponent;
        class JMenuBar;
        class KeyStroke;
        class KeyboardManager;
    }
  }
}

class javax::swing::KeyboardManager : public ::java::lang::Object
{

public: // actually package-private
  KeyboardManager();
public:
  static ::javax::swing::KeyboardManager * getManager();
public: // actually package-private
  static ::java::awt::Container * findTopLevel(::java::awt::Component *);
  virtual ::java::util::Hashtable * getHashtableForTopLevel(::java::awt::Container *);
public:
  virtual void registerBinding(::javax::swing::JComponent *, ::javax::swing::KeyStroke *);
  virtual void clearBindingsForComp(::javax::swing::JComponent *);
  virtual void registerEntireMap(::javax::swing::ComponentInputMap *);
  virtual jboolean processKeyStroke(::java::awt::Component *, ::javax::swing::KeyStroke *, ::java::awt::event::KeyEvent *);
public: // actually package-private
  virtual ::java::util::Vector * getVectorForTopLevel(::java::awt::Container *);
public:
  virtual void registerJMenuBar(::javax::swing::JMenuBar *);
  virtual void unregisterJMenuBar(::javax::swing::JMenuBar *);
public: // actually package-private
  static ::javax::swing::KeyboardManager * manager;
  ::java::util::WeakHashMap * __attribute__((aligned(__alignof__( ::java::lang::Object)))) topLevelLookup;
  ::java::util::Hashtable * menuBarLookup;
public:
  static ::java::lang::Class class$;
};

#endif // __javax_swing_KeyboardManager__