Container.h 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_awt_Container__
  3. #define __java_awt_Container__
  4. #pragma interface
  5. #include <java/awt/Component.h>
  6. #include <gcj/array.h>
  7. extern "Java"
  8. {
  9. namespace java
  10. {
  11. namespace awt
  12. {
  13. class AWTEvent;
  14. class Component;
  15. class ComponentOrientation;
  16. class Container;
  17. class Container$GfxVisitor;
  18. class Dimension;
  19. class Event;
  20. class FocusTraversalPolicy;
  21. class Font;
  22. class Graphics;
  23. class Insets;
  24. class LayoutManager;
  25. class Point;
  26. namespace event
  27. {
  28. class ContainerEvent;
  29. class ContainerListener;
  30. }
  31. }
  32. namespace beans
  33. {
  34. class PropertyChangeListener;
  35. }
  36. }
  37. }
  38. class java::awt::Container : public ::java::awt::Component
  39. {
  40. public:
  41. Container();
  42. virtual jint getComponentCount();
  43. virtual jint countComponents();
  44. virtual ::java::awt::Component * getComponent(jint);
  45. virtual JArray< ::java::awt::Component * > * getComponents();
  46. virtual ::java::awt::Insets * getInsets();
  47. virtual ::java::awt::Insets * insets();
  48. virtual ::java::awt::Component * add(::java::awt::Component *);
  49. virtual ::java::awt::Component * add(::java::lang::String *, ::java::awt::Component *);
  50. virtual ::java::awt::Component * add(::java::awt::Component *, jint);
  51. virtual void add(::java::awt::Component *, ::java::lang::Object *);
  52. virtual void add(::java::awt::Component *, ::java::lang::Object *, jint);
  53. public: // actually protected
  54. virtual void addImpl(::java::awt::Component *, ::java::lang::Object *, jint);
  55. public:
  56. virtual void remove(jint);
  57. virtual void remove(::java::awt::Component *);
  58. virtual void removeAll();
  59. virtual ::java::awt::LayoutManager * getLayout();
  60. virtual void setLayout(::java::awt::LayoutManager *);
  61. virtual void doLayout();
  62. virtual void layout();
  63. virtual void invalidate();
  64. virtual void validate();
  65. private:
  66. void invalidateTree();
  67. public: // actually protected
  68. virtual void validateTree();
  69. public:
  70. virtual void setFont(::java::awt::Font *);
  71. virtual ::java::awt::Dimension * getPreferredSize();
  72. virtual ::java::awt::Dimension * preferredSize();
  73. virtual ::java::awt::Dimension * getMinimumSize();
  74. virtual ::java::awt::Dimension * minimumSize();
  75. virtual ::java::awt::Dimension * getMaximumSize();
  76. virtual jfloat getAlignmentX();
  77. virtual jfloat getAlignmentY();
  78. virtual void paint(::java::awt::Graphics *);
  79. virtual void update(::java::awt::Graphics *);
  80. virtual void print(::java::awt::Graphics *);
  81. virtual void paintComponents(::java::awt::Graphics *);
  82. virtual void printComponents(::java::awt::Graphics *);
  83. virtual void addContainerListener(::java::awt::event::ContainerListener *);
  84. virtual void removeContainerListener(::java::awt::event::ContainerListener *);
  85. virtual JArray< ::java::awt::event::ContainerListener * > * getContainerListeners();
  86. virtual JArray< ::java::util::EventListener * > * getListeners(::java::lang::Class *);
  87. public: // actually protected
  88. virtual void processEvent(::java::awt::AWTEvent *);
  89. virtual void processContainerEvent(::java::awt::event::ContainerEvent *);
  90. public:
  91. virtual void deliverEvent(::java::awt::Event *);
  92. virtual ::java::awt::Component * getComponentAt(jint, jint);
  93. virtual ::java::awt::Point * getMousePosition(jboolean);
  94. public: // actually package-private
  95. virtual jboolean mouseOverComponent(::java::awt::Component *, jboolean);
  96. public:
  97. virtual ::java::awt::Component * locate(jint, jint);
  98. virtual ::java::awt::Component * getComponentAt(::java::awt::Point *);
  99. virtual ::java::awt::Component * findComponentAt(jint, jint);
  100. virtual ::java::awt::Component * findComponentAt(::java::awt::Point *);
  101. virtual void addNotify();
  102. virtual void removeNotify();
  103. virtual jboolean isAncestorOf(::java::awt::Component *);
  104. public: // actually protected
  105. virtual ::java::lang::String * paramString();
  106. public:
  107. virtual void list(::java::io::PrintStream *, jint);
  108. virtual void list(::java::io::PrintWriter *, jint);
  109. virtual void setFocusTraversalKeys(jint, ::java::util::Set *);
  110. virtual ::java::util::Set * getFocusTraversalKeys(jint);
  111. virtual jboolean areFocusTraversalKeysSet(jint);
  112. virtual jboolean isFocusCycleRoot(::java::awt::Container *);
  113. virtual void setFocusTraversalPolicy(::java::awt::FocusTraversalPolicy *);
  114. virtual ::java::awt::FocusTraversalPolicy * getFocusTraversalPolicy();
  115. virtual jboolean isFocusTraversalPolicySet();
  116. virtual void setFocusCycleRoot(jboolean);
  117. virtual jboolean isFocusTraversalPolicyProvider();
  118. virtual void setFocusTraversalPolicyProvider(jboolean);
  119. virtual jboolean isFocusCycleRoot();
  120. virtual void transferFocusDownCycle();
  121. virtual void applyComponentOrientation(::java::awt::ComponentOrientation *);
  122. virtual void addPropertyChangeListener(::java::beans::PropertyChangeListener *);
  123. virtual void addPropertyChangeListener(::java::lang::String *, ::java::beans::PropertyChangeListener *);
  124. virtual void setComponentZOrder(::java::awt::Component *, jint);
  125. virtual jint getComponentZOrder(::java::awt::Component *);
  126. private:
  127. void visitChildren(::java::awt::Graphics *, ::java::awt::Container$GfxVisitor *, jboolean);
  128. void visitChild(::java::awt::Graphics *, ::java::awt::Container$GfxVisitor *, ::java::awt::Component *);
  129. public: // actually package-private
  130. virtual void dispatchEventImpl(::java::awt::AWTEvent *);
  131. virtual void dispatchNoLightweight(::java::awt::AWTEvent *);
  132. virtual jboolean eventTypeEnabled(jint);
  133. virtual ::java::awt::Component * findNextFocusComponent(::java::awt::Component *);
  134. virtual void fireHierarchyEvent(jint, ::java::awt::Component *, ::java::awt::Container *, jlong);
  135. virtual void updateHierarchyListenerCount(jlong, jint);
  136. virtual void notifyReshape(jboolean, jboolean);
  137. private:
  138. void addNotifyContainerChildren();
  139. void readObject(::java::io::ObjectInputStream *);
  140. void writeObject(::java::io::ObjectOutputStream *);
  141. static const jlong serialVersionUID = 4613797578919906343LL;
  142. public: // actually package-private
  143. jint __attribute__((aligned(__alignof__( ::java::awt::Component)))) ncomponents;
  144. JArray< ::java::awt::Component * > * component;
  145. ::java::awt::LayoutManager * layoutMgr;
  146. jboolean focusCycleRoot;
  147. private:
  148. jboolean focusTraversalPolicyProvider;
  149. public: // actually package-private
  150. jint containerSerializedDataVersion;
  151. ::java::awt::event::ContainerListener * containerListener;
  152. private:
  153. ::java::awt::FocusTraversalPolicy * focusTraversalPolicy;
  154. public: // actually package-private
  155. JArray< ::java::util::Set * > * focusTraversalKeys;
  156. static jboolean $assertionsDisabled;
  157. public:
  158. static ::java::lang::Class class$;
  159. };
  160. #endif // __java_awt_Container__