1 Clazz.declarePackage ("java.awt");
2 Clazz.load (["java.awt.AWTEvent", "$.ActiveEvent"], "java.awt.SentEvent", ["java.awt.Toolkit", "jssun.awt.SunToolkit"], function () {
3 c$ = Clazz.decorateAsClass (function () {
4 this.$dispatched = false;
7 Clazz.instantialize (this, arguments);
8 }, java.awt, "SentEvent", java.awt.AWTEvent, java.awt.ActiveEvent);
9 Clazz.makeConstructor (c$,
11 this.construct (null);
13 Clazz.makeConstructor (c$,
15 this.construct (nested, null);
16 }, "java.awt.AWTEvent");
17 Clazz.makeConstructor (c$,
18 function (nested, toNotify) {
19 Clazz.superConstructor (this, java.awt.SentEvent, [(nested != null) ? nested.getSource () : java.awt.Toolkit.getDefaultToolkit (), 1007]);
21 this.toNotify = toNotify;
22 }, "java.awt.AWTEvent,jssun.awt.AppContext");
23 Clazz.overrideMethod (c$, "dispatch",
26 if (this.nested != null) {
27 java.awt.Toolkit.getEventQueue ().dispatchEvent (this.nested);
29 this.$dispatched = true;
30 if (this.toNotify != null) {
31 jssun.awt.SunToolkit.postEvent (this.toNotify, new java.awt.SentEvent ());
36 Clazz.defineMethod (c$, "dispose",
38 this.$dispatched = true;
39 if (this.toNotify != null) {
40 jssun.awt.SunToolkit.postEvent (this.toNotify, new java.awt.SentEvent ());
44 Clazz.defineStatics (c$,