1 |
759 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __javax_swing_FocusManager$WrappingFocusManager__
|
5 |
|
|
#define __javax_swing_FocusManager$WrappingFocusManager__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <javax/swing/FocusManager.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace awt
|
17 |
|
|
{
|
18 |
|
|
class AWTEvent;
|
19 |
|
|
class Component;
|
20 |
|
|
class Container;
|
21 |
|
|
class FocusTraversalPolicy;
|
22 |
|
|
class KeyEventDispatcher;
|
23 |
|
|
class KeyEventPostProcessor;
|
24 |
|
|
class KeyboardFocusManager;
|
25 |
|
|
class Window;
|
26 |
|
|
namespace event
|
27 |
|
|
{
|
28 |
|
|
class KeyEvent;
|
29 |
|
|
}
|
30 |
|
|
}
|
31 |
|
|
namespace beans
|
32 |
|
|
{
|
33 |
|
|
class PropertyChangeListener;
|
34 |
|
|
class VetoableChangeListener;
|
35 |
|
|
}
|
36 |
|
|
}
|
37 |
|
|
namespace javax
|
38 |
|
|
{
|
39 |
|
|
namespace swing
|
40 |
|
|
{
|
41 |
|
|
class FocusManager$WrappingFocusManager;
|
42 |
|
|
}
|
43 |
|
|
}
|
44 |
|
|
}
|
45 |
|
|
|
46 |
|
|
class javax::swing::FocusManager$WrappingFocusManager : public ::javax::swing::FocusManager
|
47 |
|
|
{
|
48 |
|
|
|
49 |
|
|
public: // actually package-private
|
50 |
|
|
FocusManager$WrappingFocusManager(::java::awt::KeyboardFocusManager *);
|
51 |
|
|
public:
|
52 |
|
|
virtual jboolean dispatchEvent(::java::awt::AWTEvent *);
|
53 |
|
|
virtual jboolean dispatchKeyEvent(::java::awt::event::KeyEvent *);
|
54 |
|
|
virtual void downFocusCycle(::java::awt::Container *);
|
55 |
|
|
virtual void upFocusCycle(::java::awt::Container *);
|
56 |
|
|
virtual void focusNextComponent(::java::awt::Component *);
|
57 |
|
|
virtual void focusPreviousComponent(::java::awt::Component *);
|
58 |
|
|
virtual jboolean postProcessKeyEvent(::java::awt::event::KeyEvent *);
|
59 |
|
|
virtual void processKeyEvent(::java::awt::Component *, ::java::awt::event::KeyEvent *);
|
60 |
|
|
virtual void addKeyEventDispatcher(::java::awt::KeyEventDispatcher *);
|
61 |
|
|
virtual void addKeyEventPostProcessor(::java::awt::KeyEventPostProcessor *);
|
62 |
|
|
virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *);
|
63 |
|
|
virtual void addPropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
|
64 |
|
|
virtual void addVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *);
|
65 |
|
|
virtual void addVetoableChangeListener(::java::beans::VetoableChangeListener *);
|
66 |
|
|
virtual void clearGlobalFocusOwner();
|
67 |
|
|
virtual ::java::awt::Window * getActiveWindow();
|
68 |
|
|
virtual ::java::awt::Container * getCurrentFocusCycleRoot();
|
69 |
|
|
virtual ::java::util::Set * getDefaultFocusTraversalKeys(jint);
|
70 |
|
|
virtual ::java::awt::FocusTraversalPolicy * getDefaultFocusTraversalPolicy();
|
71 |
|
|
virtual ::java::awt::Window * getFocusedWindow();
|
72 |
|
|
virtual ::java::awt::Component * getFocusOwner();
|
73 |
|
|
virtual ::java::awt::Component * getPermanentFocusOwner();
|
74 |
|
|
virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners();
|
75 |
|
|
virtual JArray< ::java::beans::PropertyChangeListener * > * getPropertyChangeListeners(::java::lang::String *);
|
76 |
|
|
virtual JArray< ::java::beans::VetoableChangeListener * > * getVetoableChangeListeners();
|
77 |
|
|
virtual JArray< ::java::beans::VetoableChangeListener * > * getVetoableChangeListeners(::java::lang::String *);
|
78 |
|
|
virtual void removeKeyEventDispatcher(::java::awt::KeyEventDispatcher *);
|
79 |
|
|
virtual void removeKeyEventPostProcessor(::java::awt::KeyEventPostProcessor *);
|
80 |
|
|
virtual void removePropertyChangeListener(::java::beans::PropertyChangeListener *);
|
81 |
|
|
virtual void removePropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
|
82 |
|
|
virtual void removeVetoableChangeListener(::java::beans::VetoableChangeListener *);
|
83 |
|
|
virtual void removeVetoableChangeListener(::java::lang::String *, ::java::beans::VetoableChangeListener *);
|
84 |
|
|
virtual void setDefaultFocusTraversalKeys(jint, ::java::util::Set *);
|
85 |
|
|
virtual void setDefaultFocusTraversalPolicy(::java::awt::FocusTraversalPolicy *);
|
86 |
|
|
virtual void setGlobalCurrentFocusCycleRoot(::java::awt::Container *);
|
87 |
|
|
private:
|
88 |
|
|
::java::awt::KeyboardFocusManager * __attribute__((aligned(__alignof__( ::javax::swing::FocusManager)))) wrapped;
|
89 |
|
|
public:
|
90 |
|
|
static ::java::lang::Class class$;
|
91 |
|
|
};
|
92 |
|
|
|
93 |
|
|
#endif // __javax_swing_FocusManager$WrappingFocusManager__
|