summaryrefslogtreecommitdiff
path: root/libjava/java/awt/DefaultKeyboardFocusManager.h
blob: ce9e4467ca55a9d068ae2b5cd0f5b2b6c032f227 (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
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_awt_DefaultKeyboardFocusManager__
#define __java_awt_DefaultKeyboardFocusManager__

#pragma interface

#include <java/awt/KeyboardFocusManager.h>
extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class AWTEvent;
        class AWTKeyStroke;
        class Component;
        class Container;
        class DefaultKeyboardFocusManager;
      namespace event
      {
          class FocusEvent;
          class KeyEvent;
      }
    }
  }
}

class java::awt::DefaultKeyboardFocusManager : public ::java::awt::KeyboardFocusManager
{

public:
  DefaultKeyboardFocusManager();
  virtual jboolean dispatchEvent(::java::awt::AWTEvent *);
private:
  jboolean handleFocusGained(::java::awt::event::FocusEvent *);
  jboolean handleFocusLost(::java::awt::event::FocusEvent *);
  jboolean enqueueKeyEvent(::java::awt::event::KeyEvent *);
public:
  virtual jboolean dispatchKeyEvent(::java::awt::event::KeyEvent *);
  virtual jboolean postProcessKeyEvent(::java::awt::event::KeyEvent *);
  virtual void processKeyEvent(::java::awt::Component *, ::java::awt::event::KeyEvent *);
public: // actually protected
  virtual void enqueueKeyEvents(jlong, ::java::awt::Component *);
  virtual void dequeueKeyEvents(jlong, ::java::awt::Component *);
  virtual void discardKeyEvents(::java::awt::Component *);
public:
  virtual void focusPreviousComponent(::java::awt::Component *);
  virtual void focusNextComponent(::java::awt::Component *);
  virtual void upFocusCycle(::java::awt::Component *);
  virtual void downFocusCycle(::java::awt::Container *);
private:
  ::java::awt::AWTKeyStroke * __attribute__((aligned(__alignof__( ::java::awt::KeyboardFocusManager)))) waitForKeyStroke;
  ::java::util::SortedSet * delayRequests;
public:
  static ::java::lang::Class class$;
};

#endif // __java_awt_DefaultKeyboardFocusManager__