Window.h 4.9 KB

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