Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / swingjs / j2s / java / awt / event / InvocationEvent.js
index 1bfd0b9..c4995c5 100644 (file)
@@ -1,73 +1,73 @@
-Clazz.declarePackage ("java.awt.event");\r
-Clazz.load (["java.awt.AWTEvent", "$.ActiveEvent"], "java.awt.event.InvocationEvent", ["java.lang.Exception"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.runnable = null;\r
-this.notifier = null;\r
-this.catchExceptions = false;\r
-this.exception = null;\r
-this.throwable = null;\r
-this.when = 0;\r
-Clazz.instantialize (this, arguments);\r
-}, java.awt.event, "InvocationEvent", java.awt.AWTEvent, java.awt.ActiveEvent);\r
-Clazz.makeConstructor (c$, \r
-function (source, runnable) {\r
-this.construct (source, runnable, null, false);\r
-}, "~O,Runnable");\r
-Clazz.makeConstructor (c$, \r
-function (source, runnable, notifier, catchThrowables) {\r
-this.construct (source, 1200, runnable, notifier, catchThrowables);\r
-}, "~O,Runnable,~O,~B");\r
-Clazz.makeConstructor (c$, \r
-function (source, id, runnable, notifier, catchThrowables) {\r
-Clazz.superConstructor (this, java.awt.event.InvocationEvent, [source, id]);\r
-this.runnable = runnable;\r
-this.notifier = notifier;\r
-this.catchExceptions = catchThrowables;\r
-this.when = System.currentTimeMillis ();\r
-}, "~O,~N,Runnable,~O,~B");\r
-Clazz.overrideMethod (c$, "dispatch", \r
-function () {\r
-if (this.catchExceptions) {\r
-try {\r
-this.runnable.run ();\r
-} catch (t) {\r
-if (Clazz.instanceOf (t, Exception)) {\r
-this.exception = t;\r
-}this.throwable = t;\r
-}\r
-} else {\r
-this.runnable.run ();\r
-}if (this.notifier != null) {\r
-{\r
-this.notifier.notifyAll ();\r
-}}});\r
-Clazz.defineMethod (c$, "getException", \r
-function () {\r
-return (this.catchExceptions) ? this.exception : null;\r
-});\r
-Clazz.defineMethod (c$, "getThrowable", \r
-function () {\r
-return (this.catchExceptions) ? this.throwable : null;\r
-});\r
-Clazz.defineMethod (c$, "getWhen", \r
-function () {\r
-return this.when;\r
-});\r
-Clazz.overrideMethod (c$, "paramString", \r
-function () {\r
-var typeStr;\r
-switch (this.id) {\r
-case 1200:\r
-typeStr = "INVOCATION_DEFAULT";\r
-break;\r
-default:\r
-typeStr = "unknown type";\r
-}\r
-return typeStr + ",runnable=" + this.runnable + ",notifier=" + this.notifier + ",catchExceptions=" + this.catchExceptions + ",when=" + this.when;\r
-});\r
-Clazz.defineStatics (c$,\r
-"SWINGJS_INVOCATION_LOW", 1201,\r
-"INVOCATION_FIRST", 1200,\r
-"INVOCATION_DEFAULT", 1200,\r
-"INVOCATION_LAST", 1201);\r
-});\r
+Clazz.declarePackage ("java.awt.event");
+Clazz.load (["java.awt.AWTEvent", "$.ActiveEvent"], "java.awt.event.InvocationEvent", ["java.lang.Exception"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.runnable = null;
+this.notifier = null;
+this.catchExceptions = false;
+this.exception = null;
+this.throwable = null;
+this.when = 0;
+Clazz.instantialize (this, arguments);
+}, java.awt.event, "InvocationEvent", java.awt.AWTEvent, java.awt.ActiveEvent);
+Clazz.makeConstructor (c$, 
+function (source, runnable) {
+this.construct (source, runnable, null, false);
+}, "~O,Runnable");
+Clazz.makeConstructor (c$, 
+function (source, runnable, notifier, catchThrowables) {
+this.construct (source, 1200, runnable, notifier, catchThrowables);
+}, "~O,Runnable,~O,~B");
+Clazz.makeConstructor (c$, 
+function (source, id, runnable, notifier, catchThrowables) {
+Clazz.superConstructor (this, java.awt.event.InvocationEvent, [source, id]);
+this.runnable = runnable;
+this.notifier = notifier;
+this.catchExceptions = catchThrowables;
+this.when = System.currentTimeMillis ();
+}, "~O,~N,Runnable,~O,~B");
+Clazz.overrideMethod (c$, "dispatch", 
+function () {
+if (this.catchExceptions) {
+try {
+this.runnable.run ();
+} catch (t) {
+if (Clazz.instanceOf (t, Exception)) {
+this.exception = t;
+}this.throwable = t;
+}
+} else {
+this.runnable.run ();
+}if (this.notifier != null) {
+{
+this.notifier.notifyAll ();
+}}});
+Clazz.defineMethod (c$, "getException", 
+function () {
+return (this.catchExceptions) ? this.exception : null;
+});
+Clazz.defineMethod (c$, "getThrowable", 
+function () {
+return (this.catchExceptions) ? this.throwable : null;
+});
+Clazz.defineMethod (c$, "getWhen", 
+function () {
+return this.when;
+});
+Clazz.overrideMethod (c$, "paramString", 
+function () {
+var typeStr;
+switch (this.id) {
+case 1200:
+typeStr = "INVOCATION_DEFAULT";
+break;
+default:
+typeStr = "unknown type";
+}
+return typeStr + ",runnable=" + this.runnable + ",notifier=" + this.notifier + ",catchExceptions=" + this.catchExceptions + ",when=" + this.when;
+});
+Clazz.defineStatics (c$,
+"SWINGJS_INVOCATION_LOW", 1201,
+"INVOCATION_FIRST", 1200,
+"INVOCATION_DEFAULT", 1200,
+"INVOCATION_LAST", 1201);
+});