aboutsummaryrefslogtreecommitdiff
path: root/libjava/java/awt/Window.h
blob: c1c73992e40ec4023132da28958fb6de5109ffdb (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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142

// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_awt_Window__
#define __java_awt_Window__

#pragma interface

#include <java/awt/Container.h>
#include <gcj/array.h>

extern "Java"
{
  namespace java
  {
    namespace awt
    {
        class AWTEvent;
        class BufferCapabilities;
        class Component;
        class Container;
        class Cursor;
        class Event;
        class Frame;
        class GraphicsConfiguration;
        class Toolkit;
        class Window;
      namespace event
      {
          class WindowEvent;
          class WindowFocusListener;
          class WindowListener;
          class WindowStateListener;
      }
      namespace image
      {
          class BufferStrategy;
      }
    }
  }
  namespace javax
  {
    namespace accessibility
    {
        class AccessibleContext;
    }
  }
}

class java::awt::Window : public ::java::awt::Container
{

public: // actually package-private
  Window();
  Window(::java::awt::GraphicsConfiguration *);
public:
  Window(::java::awt::Frame *);
  Window(::java::awt::Window *);
  Window(::java::awt::Window *, ::java::awt::GraphicsConfiguration *);
  virtual void addNotify();
  virtual void pack();
  virtual void show();
  virtual void hide();
  virtual void dispose();
  virtual void toBack();
  virtual void toFront();
  virtual ::java::awt::Toolkit * getToolkit();
  virtual ::java::lang::String * getWarningString();
  virtual ::java::util::Locale * getLocale();
  virtual void setCursor(::java::awt::Cursor *);
  virtual ::java::awt::Window * getOwner();
  virtual JArray< ::java::awt::Window * > * getOwnedWindows();
  virtual void addWindowListener(::java::awt::event::WindowListener *);
  virtual void removeWindowListener(::java::awt::event::WindowListener *);
  virtual JArray< ::java::awt::event::WindowListener * > * getWindowListeners();
  virtual JArray< ::java::awt::event::WindowFocusListener * > * getWindowFocusListeners();
  virtual JArray< ::java::awt::event::WindowStateListener * > * getWindowStateListeners();
  virtual void addWindowFocusListener(::java::awt::event::WindowFocusListener *);
  virtual void addWindowStateListener(::java::awt::event::WindowStateListener *);
  virtual void removeWindowFocusListener(::java::awt::event::WindowFocusListener *);
  virtual void removeWindowStateListener(::java::awt::event::WindowStateListener *);
  virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
public: // actually package-private
  virtual void dispatchEventImpl(::java::awt::AWTEvent *);
public: // actually protected
  virtual void processEvent(::java::awt::AWTEvent *);
  virtual void processWindowEvent(::java::awt::event::WindowEvent *);
public:
  virtual jboolean isActive();
  virtual jboolean isFocused();
  virtual ::java::awt::Component * getFocusOwner();
  virtual ::java::awt::Component * getMostRecentFocusOwner();
public: // actually package-private
  virtual void setFocusOwner(::java::awt::Component *);
public:
  virtual jboolean postEvent(::java::awt::Event *);
  virtual jboolean isShowing();
  virtual void setLocationRelativeTo(::java::awt::Component *);
  virtual void createBufferStrategy(jint);
  virtual void createBufferStrategy(jint, ::java::awt::BufferCapabilities *);
  virtual ::java::awt::image::BufferStrategy * getBufferStrategy();
  virtual void applyResourceBundle(::java::util::ResourceBundle *);
  virtual void applyResourceBundle(::java::lang::String *);
  virtual ::javax::accessibility::AccessibleContext * getAccessibleContext();
  virtual ::java::awt::GraphicsConfiguration * getGraphicsConfiguration();
public: // actually protected
  virtual void processWindowFocusEvent(::java::awt::event::WindowEvent *);
  virtual void processWindowStateEvent(::java::awt::event::WindowEvent *);
public:
  virtual jboolean isFocusableWindow();
  virtual jboolean getFocusableWindowState();
  virtual void setFocusableWindowState(jboolean);
  virtual jboolean isFocusCycleRoot();
  virtual void setFocusCycleRoot(jboolean);
  virtual ::java::awt::Container * getFocusCycleRootAncestor();
  virtual jboolean isAlwaysOnTop();
  virtual void setAlwaysOnTop(jboolean);
public: // actually package-private
  virtual ::java::lang::String * generateName();
  virtual jboolean eventTypeEnabled(jint);
private:
  static jlong getUniqueLong();
  static const jlong serialVersionUID = 4497834738069338734LL;
  ::java::lang::String * __attribute__((aligned(__alignof__( ::java::awt::Container)))) warningString;
  jint windowSerializedDataVersion;
  jint state;
  jboolean focusableWindowState;
  jboolean alwaysOnTop;
  ::java::util::Vector * ownedWindows;
  ::java::awt::event::WindowListener * windowListener;
  ::java::awt::event::WindowFocusListener * windowFocusListener;
  ::java::awt::event::WindowStateListener * windowStateListener;
  jboolean shown;
public: // actually package-private
  ::java::awt::Component * windowFocusOwner;
private:
  static jlong next_window_number;
public:
  static ::java::lang::Class class$;
};

#endif // __java_awt_Window__