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