KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > eclipse > swt > internal > mozilla > nsIWidget


1 package org.eclipse.swt.internal.mozilla;
2
3 public class nsIWidget extends nsISupports {
4     static final int LAST_METHOD_ID = nsISupports.LAST_METHOD_ID + 83;
5     
6     public nsIWidget(int address) {
7         super(address);
8     }
9     
10     public int Create(nsIWidget aParent, int aRect, int aHandleEventFunction, int aContext, int aAppShell, int aToolkit, int aInitData) {
11         int aParentAddress = aParent != null ? aParent.getAddress() : 0;
12         return XPCOM.VtblCall(super.LAST_METHOD_ID + 1, getAddress(), aParentAddress, aRect, aHandleEventFunction, aContext, aAppShell, aToolkit, aInitData);
13     }
14     
15     public int Create(int aParent, int aRect, int aHandleEventFunction, int aContext, int aAppShell, int aToolkit, int aInitData) {
16         return XPCOM.VtblCall(super.LAST_METHOD_ID + 2, getAddress(), aParent, aRect, aHandleEventFunction, aContext, aAppShell, aToolkit, aInitData);
17     }
18     
19     public int GetClientData(int[] aClientData) {
20         return XPCOM.VtblCall(super.LAST_METHOD_ID + 3, getAddress(), aClientData);
21     }
22     
23     public int SetClientData(int[] aClientData) {
24         return XPCOM.VtblCall(super.LAST_METHOD_ID + 4, getAddress(), aClientData);
25     }
26     
27     public int Destroy() {
28         return XPCOM.VtblCall(super.LAST_METHOD_ID + 5, getAddress());
29     }
30     
31     public int SetParent(int aNewParent) {
32         return XPCOM.VtblCall(super.LAST_METHOD_ID + 6, getAddress(), aNewParent);
33     }
34     
35     public int GetParent() {
36         return XPCOM.VtblCall(super.LAST_METHOD_ID + 7, getAddress());
37     }
38     
39     public int GetChildren() {
40         return XPCOM.VtblCall(super.LAST_METHOD_ID + 8, getAddress());
41     }
42     
43     public int Show(boolean aState) {
44         return XPCOM.VtblCall(super.LAST_METHOD_ID + 9, getAddress(), aState);
45     }
46     
47     public int SetModal(boolean aModal) {
48         return XPCOM.VtblCall(super.LAST_METHOD_ID + 10, getAddress(), aModal);
49     }
50     
51     public int IsVisible(boolean aState) {
52         return XPCOM.VtblCall(super.LAST_METHOD_ID + 11, getAddress(), aState);
53     }
54     
55     public int ConstrainPosition(boolean aAllowSlop, int[] aX, int[] aY) {
56         return XPCOM.VtblCall(super.LAST_METHOD_ID + 12, getAddress(), aAllowSlop, aX, aY);
57     }
58     
59     public int Move(int aX, int aY) {
60         return XPCOM.VtblCall(super.LAST_METHOD_ID + 13, getAddress(), aX, aY);
61     }
62     
63     public int Resize(int aWidth, int aHeight, boolean aRepaint) {
64         return XPCOM.VtblCall(super.LAST_METHOD_ID + 14, getAddress(), aWidth, aHeight, aRepaint);
65     }
66     
67     public int Resize(int aX, int aY, int aWidth, int aHeight, boolean aRepaint) {
68         return XPCOM.VtblCall(super.LAST_METHOD_ID + 15, getAddress(), aX, aY, aWidth, aHeight, aRepaint);
69     }
70     
71     public int SetZIndex(int aZIndex) {
72         return XPCOM.VtblCall(super.LAST_METHOD_ID + 16, getAddress(), aZIndex);
73     }
74     
75     public int GetZIndex(int[] aZindex) {
76         return XPCOM.VtblCall(super.LAST_METHOD_ID + 17, getAddress(), aZindex);
77     }
78     
79     public int PlaceBehind(int aWidget, boolean aActivate) {
80         return XPCOM.VtblCall(super.LAST_METHOD_ID + 18, getAddress(), aWidget, aActivate);
81     }
82     
83     public int SetSizeMode(int aMode) {
84         return XPCOM.VtblCall(super.LAST_METHOD_ID + 19, getAddress(), aMode);
85     }
86     
87     public int GetSizeMode(int[] aMode) {
88         return XPCOM.VtblCall(super.LAST_METHOD_ID + 20, getAddress(), aMode);
89     }
90     
91     public int Enable(boolean aState) {
92         return XPCOM.VtblCall(super.LAST_METHOD_ID + 21, getAddress(), aState);
93     }
94     
95     public int IsEnabled(boolean[] aState) {
96         return XPCOM.VtblCall(super.LAST_METHOD_ID + 22, getAddress(), aState);
97     }
98     
99     public int SetFocus(boolean aRaise) {
100         return XPCOM.VtblCall(super.LAST_METHOD_ID + 23, getAddress(), aRaise);
101     }
102     
103     public int GetBounds(int aRect) {
104         return XPCOM.VtblCall(super.LAST_METHOD_ID + 24, getAddress(), aRect);
105     }
106     
107     public int GetScreenBounds(int aRect) {
108         return XPCOM.VtblCall(super.LAST_METHOD_ID + 25, getAddress(), aRect);
109     }
110     
111     public int GetClientBounds(int aRect) {
112         return XPCOM.VtblCall(super.LAST_METHOD_ID + 26, getAddress(), aRect);
113     }
114     
115     public int GetBorderSize(int[] aWidth, int[] aHeight) {
116         return XPCOM.VtblCall(super.LAST_METHOD_ID + 27, getAddress(), aWidth, aHeight);
117     }
118     
119     public int GetForegroundColor() {
120         return XPCOM.VtblCall(super.LAST_METHOD_ID + 28, getAddress());
121     }
122     
123     public int SetForegroundColor(int aColor) {
124         return XPCOM.VtblCall(super.LAST_METHOD_ID + 29, getAddress(), aColor);
125     }
126     
127     public int GetBackgroundColor() {
128         return XPCOM.VtblCall(super.LAST_METHOD_ID + 30, getAddress());
129     }
130     
131     public int SetBackgroundColor(int aColor) {
132         return XPCOM.VtblCall(super.LAST_METHOD_ID + 31, getAddress(), aColor);
133     }
134     
135     public int GetFont() {
136         return XPCOM.VtblCall(super.LAST_METHOD_ID + 32, getAddress());
137     }
138     
139     public int SetFont(int aFont) {
140         return XPCOM.VtblCall(super.LAST_METHOD_ID + 33, getAddress(), aFont);
141     }
142     
143     public int GetCursor() {
144         return XPCOM.VtblCall(super.LAST_METHOD_ID + 34, getAddress());
145     }
146     
147     public int SetCursor(int aCursor) {
148         return XPCOM.VtblCall(super.LAST_METHOD_ID + 35, getAddress(), aCursor);
149     }
150     
151     public int GetWindowType(int aWindowType) {
152         return XPCOM.VtblCall(super.LAST_METHOD_ID + 36, getAddress(), aWindowType);
153     }
154     
155     public int SetWindowTranslucency(boolean aTranslucent) {
156         return XPCOM.VtblCall(super.LAST_METHOD_ID + 37, getAddress(), aTranslucent);
157     }
158     
159     public int GetWindowTranslucency(boolean[] aTranslucent) {
160         return XPCOM.VtblCall(super.LAST_METHOD_ID + 38, getAddress(), aTranslucent);
161     }
162     
163     public int UpdateTranslucentWindowAlpha(int aRect, int[] aAlphas) {
164         return XPCOM.VtblCall(super.LAST_METHOD_ID + 39, getAddress(), aRect, aAlphas);
165     }
166     
167     public int HideWindowChrome(boolean aShouldHide) {
168         return XPCOM.VtblCall(super.LAST_METHOD_ID + 40, getAddress(), aShouldHide);
169     }
170     
171     public int MakeFullScreen(boolean aFullScreen) {
172         return XPCOM.VtblCall(super.LAST_METHOD_ID + 41, getAddress(), aFullScreen);
173     }
174     
175     public int Validate() {
176         return XPCOM.VtblCall(super.LAST_METHOD_ID + 42, getAddress());
177     }
178     
179     public int Invalidate(boolean aIsSynchronous) {
180         return XPCOM.VtblCall(super.LAST_METHOD_ID + 43, getAddress(), aIsSynchronous);
181     }
182     
183     public int Invalidate(int aRect, boolean aIsSynchronous) {
184         return XPCOM.VtblCall(super.LAST_METHOD_ID + 44, getAddress(), aRect, aIsSynchronous);
185     }
186     
187     public int InvalidateRegion(int aRegion, boolean aIsSynchronous) {
188         return XPCOM.VtblCall(super.LAST_METHOD_ID + 45, getAddress());
189     }
190     
191     public int Update() {
192         return XPCOM.VtblCall(super.LAST_METHOD_ID + 46, getAddress());
193     }
194     
195     public int AddMouseListener(int aListener) {
196         return XPCOM.VtblCall(super.LAST_METHOD_ID + 47, getAddress(), aListener);
197     }
198     
199     public int AddEventListener(int aListener) {
200         return XPCOM.VtblCall(super.LAST_METHOD_ID + 48, getAddress(), aListener);
201     }
202     
203     public int AddMenuListener(int aListener) {
204         return XPCOM.VtblCall(super.LAST_METHOD_ID + 49, getAddress(), aListener);
205     }
206     
207     public int GetToolkit() {
208         return XPCOM.VtblCall(super.LAST_METHOD_ID + 50, getAddress());
209     }
210     
211     public int SetColorMap(int aColorMap) {
212         return XPCOM.VtblCall(super.LAST_METHOD_ID + 51, getAddress(), aColorMap);
213     }
214     
215     public int Scroll(int aDx, int aDy, int aClipRect) {
216         return XPCOM.VtblCall(super.LAST_METHOD_ID + 52, getAddress(), aDx, aDy, aClipRect);
217     }
218     
219     public int ScrollWidgets(int aDx, int aDy) {
220         return XPCOM.VtblCall(super.LAST_METHOD_ID + 53, getAddress(), aDx, aDy);
221     }
222     
223     public int ScrollRect(int aScrRect, int aDx, int aDy) {
224         return XPCOM.VtblCall(super.LAST_METHOD_ID + 54, getAddress(), aScrRect, aDx, aDy);
225     }
226
227     public void AddChild(int aChild) {
228         XPCOM.VtblCallNoRet(super.LAST_METHOD_ID + 55, getAddress(), aChild);
229     }
230     
231     public void RemoveChild(int aChild) {
232         XPCOM.VtblCallNoRet(super.LAST_METHOD_ID + 56, getAddress(), aChild);
233     }
234
235     public int GetNativeData(int aDataType) {
236         return XPCOM.VtblCall(super.LAST_METHOD_ID + 57, getAddress(), aDataType);
237     }
238     
239     public void FreeNativeData(int data, int aDataType) {
240         XPCOM.VtblCallNoRet(super.LAST_METHOD_ID + 58, getAddress(), data, aDataType);
241     }
242     
243     public int GetRenderingContext() {
244         return XPCOM.VtblCall(super.LAST_METHOD_ID + 59, getAddress());
245     }
246     
247     public int GetDeviceContext() {
248         return XPCOM.VtblCall(super.LAST_METHOD_ID + 60, getAddress());
249     }
250     
251     public int GetAppShell() {
252         return XPCOM.VtblCall(super.LAST_METHOD_ID + 61, getAddress());
253     }
254     
255     public int SetBorderStyle(int aBorderStyle) {
256         return XPCOM.VtblCall(super.LAST_METHOD_ID + 62, getAddress(), aBorderStyle);
257     }
258     
259     public int SetTitle(int aTitle) {
260         return XPCOM.VtblCall(super.LAST_METHOD_ID + 63, getAddress(), aTitle);
261     }
262     
263     public int SetIcon(int anIconSpec) {
264         return XPCOM.VtblCall(super.LAST_METHOD_ID + 64, getAddress(), anIconSpec);
265     }
266     
267     public int SetMenuBar(int aMenuBar) {
268         return XPCOM.VtblCall(super.LAST_METHOD_ID + 65, getAddress(), aMenuBar);
269     }
270     
271     public int ShowMenuBar(boolean aShow) {
272         return XPCOM.VtblCall(super.LAST_METHOD_ID + 66, getAddress(), aShow);
273     }
274     
275     public int WidgetToScreen(int aOldRect, int aNewRect) {
276         return XPCOM.VtblCall(super.LAST_METHOD_ID + 67, getAddress(), aOldRect, aNewRect);
277     }
278     
279     public int ScreenToWidget(int aOldRect, int aNewRect) {
280         return XPCOM.VtblCall(super.LAST_METHOD_ID + 68, getAddress(), aOldRect, aNewRect);
281     }
282     
283     public int BeginResizingChildren() {
284         return XPCOM.VtblCall(super.LAST_METHOD_ID + 69, getAddress());
285     }
286     
287     public int EndResizingChidren() {
288         return XPCOM.VtblCall(super.LAST_METHOD_ID + 70, getAddress());
289     }
290     
291     public int GetPreferredSize(int aWidth, int aHeight) {
292         return XPCOM.VtblCall(super.LAST_METHOD_ID + 71, getAddress(), aWidth, aHeight);
293     }
294     
295     public int SetPreferredSize(int aWidth, int aHeight) {
296         return XPCOM.VtblCall(super.LAST_METHOD_ID + 72, getAddress(), aWidth, aHeight);
297     }
298     
299     public int DispatchEvent(int event, int aStatus) {
300         return XPCOM.VtblCall(super.LAST_METHOD_ID + 73, getAddress(), event, aStatus);
301     }
302     
303     public int Paint(int aRenderingContext, int aDirtyRect) {
304         return XPCOM.VtblCall(super.LAST_METHOD_ID + 74, getAddress(), aRenderingContext, aDirtyRect);
305     }
306     
307     public int EnableDragDrop(boolean aEnable) {
308         return XPCOM.VtblCall(super.LAST_METHOD_ID + 75, getAddress(), aEnable);
309     }
310     
311     public void ConvertToDeviceCoordinates(int[] aX, int[] aY) {
312         XPCOM.VtblCallNoRet(super.LAST_METHOD_ID + 76, getAddress(), aX, aY);
313     }
314     
315     public int CaptureMouse(boolean aCapture) {
316         return XPCOM.VtblCall(super.LAST_METHOD_ID + 77, getAddress(), aCapture);
317     }
318     
319     public int GetWindowClass(char[] aClass) {
320         return XPCOM.VtblCall(super.LAST_METHOD_ID + 78, getAddress(), aClass);
321     }
322     
323     public int SetWindowClass(char[] aClass) {
324         return XPCOM.VtblCall(super.LAST_METHOD_ID + 79, getAddress(), aClass);
325     }
326     
327     public int CaptureRollupEvents(int aListener, boolean aDoCapture, boolean aConsumeRollupEvent) {
328         return XPCOM.VtblCall(super.LAST_METHOD_ID + 80, getAddress(), aListener, aDoCapture, aConsumeRollupEvent);
329     }
330     
331     public int ModalEventFilter(boolean aRealEvent, int aEvent, boolean[] aForWindow) {
332         return XPCOM.VtblCall(super.LAST_METHOD_ID + 81, getAddress(), aRealEvent, aEvent, aForWindow);
333     }
334     
335     public int GetAttention() {
336         return XPCOM.VtblCall(super.LAST_METHOD_ID + 82, getAddress());
337     }
338     
339     public int GetLastInputEventTime(int[] aTime) {
340         return XPCOM.VtblCall(super.LAST_METHOD_ID + 83, getAddress(), aTime);
341     }
342
343 }
344
Popular Tags