Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / jssun / awt / PostEventQueue.js
index 84876c4..134b28e 100644 (file)
@@ -1,41 +1,41 @@
-Clazz.declarePackage ("jssun.awt");\r
-Clazz.load (null, "jssun.awt.PostEventQueue", ["jssun.awt.EventQueueItem", "$.SunToolkit", "swingjs.JSToolkit"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.queueHead = null;\r
-this.queueTail = null;\r
-this.eventQueue = null;\r
-Clazz.instantialize (this, arguments);\r
-}, jssun.awt, "PostEventQueue");\r
-Clazz.makeConstructor (c$, \r
-function (eq) {\r
-this.eventQueue = eq;\r
-}, "java.awt.EventQueue");\r
-Clazz.defineMethod (c$, "noEvents", \r
-function () {\r
-return this.queueHead == null;\r
-});\r
-Clazz.defineMethod (c$, "flush", \r
-function () {\r
-if (this.queueHead != null) {\r
-var tempQueue;\r
-{\r
-tempQueue = this.queueHead;\r
-this.queueHead = this.queueTail = null;\r
-while (tempQueue != null) {\r
-swingjs.JSToolkit.alert ("postevent IS NOT IMPLEMENTED " + tempQueue.event);\r
-this.eventQueue.postEvent (tempQueue.event);\r
-tempQueue = tempQueue.next;\r
-}\r
-}}});\r
-Clazz.defineMethod (c$, "postEvent", \r
-function (event) {\r
-var item =  new jssun.awt.EventQueueItem (event);\r
-{\r
-if (this.queueHead == null) {\r
-this.queueHead = this.queueTail = item;\r
-} else {\r
-this.queueTail.next = item;\r
-this.queueTail = item;\r
-}}jssun.awt.SunToolkit.wakeupEventQueue (this.eventQueue, false);\r
-}, "java.awt.AWTEvent");\r
-});\r
+Clazz.declarePackage ("jssun.awt");
+Clazz.load (null, "jssun.awt.PostEventQueue", ["jssun.awt.EventQueueItem", "$.SunToolkit", "swingjs.JSToolkit"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.queueHead = null;
+this.queueTail = null;
+this.eventQueue = null;
+Clazz.instantialize (this, arguments);
+}, jssun.awt, "PostEventQueue");
+Clazz.makeConstructor (c$, 
+function (eq) {
+this.eventQueue = eq;
+}, "java.awt.EventQueue");
+Clazz.defineMethod (c$, "noEvents", 
+function () {
+return this.queueHead == null;
+});
+Clazz.defineMethod (c$, "flush", 
+function () {
+if (this.queueHead != null) {
+var tempQueue;
+{
+tempQueue = this.queueHead;
+this.queueHead = this.queueTail = null;
+while (tempQueue != null) {
+swingjs.JSToolkit.alert ("postevent IS NOT IMPLEMENTED " + tempQueue.event);
+this.eventQueue.postEvent (tempQueue.event);
+tempQueue = tempQueue.next;
+}
+}}});
+Clazz.defineMethod (c$, "postEvent", 
+function (event) {
+var item =  new jssun.awt.EventQueueItem (event);
+{
+if (this.queueHead == null) {
+this.queueHead = this.queueTail = item;
+} else {
+this.queueTail.next = item;
+this.queueTail = item;
+}}jssun.awt.SunToolkit.wakeupEventQueue (this.eventQueue, false);
+}, "java.awt.AWTEvent");
+});