1 |
758 |
jeremybenn |
|
2 |
|
|
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
|
3 |
|
|
|
4 |
|
|
#ifndef __java_awt_Window__
|
5 |
|
|
#define __java_awt_Window__
|
6 |
|
|
|
7 |
|
|
#pragma interface
|
8 |
|
|
|
9 |
|
|
#include <java/awt/Container.h>
|
10 |
|
|
#include <gcj/array.h>
|
11 |
|
|
|
12 |
|
|
extern "Java"
|
13 |
|
|
{
|
14 |
|
|
namespace java
|
15 |
|
|
{
|
16 |
|
|
namespace awt
|
17 |
|
|
{
|
18 |
|
|
class AWTEvent;
|
19 |
|
|
class BufferCapabilities;
|
20 |
|
|
class Component;
|
21 |
|
|
class Container;
|
22 |
|
|
class Cursor;
|
23 |
|
|
class Event;
|
24 |
|
|
class Frame;
|
25 |
|
|
class GraphicsConfiguration;
|
26 |
|
|
class Toolkit;
|
27 |
|
|
class Window;
|
28 |
|
|
namespace event
|
29 |
|
|
{
|
30 |
|
|
class WindowEvent;
|
31 |
|
|
class WindowFocusListener;
|
32 |
|
|
class WindowListener;
|
33 |
|
|
class WindowStateListener;
|
34 |
|
|
}
|
35 |
|
|
namespace image
|
36 |
|
|
{
|
37 |
|
|
class BufferStrategy;
|
38 |
|
|
}
|
39 |
|
|
}
|
40 |
|
|
}
|
41 |
|
|
namespace javax
|
42 |
|
|
{
|
43 |
|
|
namespace accessibility
|
44 |
|
|
{
|
45 |
|
|
class AccessibleContext;
|
46 |
|
|
}
|
47 |
|
|
}
|
48 |
|
|
}
|
49 |
|
|
|
50 |
|
|
class java::awt::Window : public ::java::awt::Container
|
51 |
|
|
{
|
52 |
|
|
|
53 |
|
|
public: // actually package-private
|
54 |
|
|
Window();
|
55 |
|
|
Window(::java::awt::GraphicsConfiguration *);
|
56 |
|
|
public:
|
57 |
|
|
Window(::java::awt::Frame *);
|
58 |
|
|
Window(::java::awt::Window *);
|
59 |
|
|
Window(::java::awt::Window *, ::java::awt::GraphicsConfiguration *);
|
60 |
|
|
virtual void addNotify();
|
61 |
|
|
virtual void pack();
|
62 |
|
|
virtual void show();
|
63 |
|
|
virtual void hide();
|
64 |
|
|
virtual void dispose();
|
65 |
|
|
virtual void toBack();
|
66 |
|
|
virtual void toFront();
|
67 |
|
|
virtual ::java::awt::Toolkit * getToolkit();
|
68 |
|
|
virtual ::java::lang::String * getWarningString();
|
69 |
|
|
virtual ::java::util::Locale * getLocale();
|
70 |
|
|
virtual void setCursor(::java::awt::Cursor *);
|
71 |
|
|
virtual ::java::awt::Window * getOwner();
|
72 |
|
|
virtual JArray< ::java::awt::Window * > * getOwnedWindows();
|
73 |
|
|
virtual void addWindowListener(::java::awt::event::WindowListener *);
|
74 |
|
|
virtual void removeWindowListener(::java::awt::event::WindowListener *);
|
75 |
|
|
virtual JArray< ::java::awt::event::WindowListener * > * getWindowListeners();
|
76 |
|
|
virtual JArray< ::java::awt::event::WindowFocusListener * > * getWindowFocusListeners();
|
77 |
|
|
virtual JArray< ::java::awt::event::WindowStateListener * > * getWindowStateListeners();
|
78 |
|
|
virtual void addWindowFocusListener(::java::awt::event::WindowFocusListener *);
|
79 |
|
|
virtual void addWindowStateListener(::java::awt::event::WindowStateListener *);
|
80 |
|
|
virtual void removeWindowFocusListener(::java::awt::event::WindowFocusListener *);
|
81 |
|
|
virtual void removeWindowStateListener(::java::awt::event::WindowStateListener *);
|
82 |
|
|
virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
|
83 |
|
|
public: // actually package-private
|
84 |
|
|
virtual void dispatchEventImpl(::java::awt::AWTEvent *);
|
85 |
|
|
public: // actually protected
|
86 |
|
|
virtual void processEvent(::java::awt::AWTEvent *);
|
87 |
|
|
virtual void processWindowEvent(::java::awt::event::WindowEvent *);
|
88 |
|
|
public:
|
89 |
|
|
virtual jboolean isActive();
|
90 |
|
|
virtual jboolean isFocused();
|
91 |
|
|
virtual ::java::awt::Component * getFocusOwner();
|
92 |
|
|
virtual ::java::awt::Component * getMostRecentFocusOwner();
|
93 |
|
|
public: // actually package-private
|
94 |
|
|
virtual void setFocusOwner(::java::awt::Component *);
|
95 |
|
|
public:
|
96 |
|
|
virtual jboolean postEvent(::java::awt::Event *);
|
97 |
|
|
virtual jboolean isShowing();
|
98 |
|
|
virtual void setLocationRelativeTo(::java::awt::Component *);
|
99 |
|
|
virtual void createBufferStrategy(jint);
|
100 |
|
|
virtual void createBufferStrategy(jint, ::java::awt::BufferCapabilities *);
|
101 |
|
|
virtual ::java::awt::image::BufferStrategy * getBufferStrategy();
|
102 |
|
|
virtual void applyResourceBundle(::java::util::ResourceBundle *);
|
103 |
|
|
virtual void applyResourceBundle(::java::lang::String *);
|
104 |
|
|
virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
|
105 |
|
|
virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration();
|
106 |
|
|
public: // actually protected
|
107 |
|
|
virtual void processWindowFocusEvent(::java::awt::event::WindowEvent *);
|
108 |
|
|
virtual void processWindowStateEvent(::java::awt::event::WindowEvent *);
|
109 |
|
|
public:
|
110 |
|
|
virtual jboolean isFocusableWindow();
|
111 |
|
|
virtual jboolean getFocusableWindowState();
|
112 |
|
|
virtual void setFocusableWindowState(jboolean);
|
113 |
|
|
virtual jboolean isFocusCycleRoot();
|
114 |
|
|
virtual void setFocusCycleRoot(jboolean);
|
115 |
|
|
virtual ::java::awt::Container * getFocusCycleRootAncestor();
|
116 |
|
|
virtual jboolean isAlwaysOnTop();
|
117 |
|
|
virtual void setAlwaysOnTop(jboolean);
|
118 |
|
|
public: // actually package-private
|
119 |
|
|
virtual ::java::lang::String * generateName();
|
120 |
|
|
virtual jboolean eventTypeEnabled(jint);
|
121 |
|
|
private:
|
122 |
|
|
static jlong getUniqueLong();
|
123 |
|
|
static const jlong serialVersionUID = 4497834738069338734LL;
|
124 |
|
|
::java::lang::String * __attribute__((aligned(__alignof__( ::java::awt::Container)))) warningString;
|
125 |
|
|
jint windowSerializedDataVersion;
|
126 |
|
|
jint state;
|
127 |
|
|
jboolean focusableWindowState;
|
128 |
|
|
jboolean alwaysOnTop;
|
129 |
|
|
::java::util::Vector * ownedWindows;
|
130 |
|
|
::java::awt::event::WindowListener * windowListener;
|
131 |
|
|
::java::awt::event::WindowFocusListener * windowFocusListener;
|
132 |
|
|
::java::awt::event::WindowStateListener * windowStateListener;
|
133 |
|
|
jboolean shown;
|
134 |
|
|
public: // actually package-private
|
135 |
|
|
::java::awt::Component * windowFocusOwner;
|
136 |
|
|
private:
|
137 |
|
|
static jlong next_window_number;
|
138 |
|
|
public:
|
139 |
|
|
static ::java::lang::Class class$;
|
140 |
|
|
};
|
141 |
|
|
|
142 |
|
|
#endif // __java_awt_Window__
|