Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / jssun / awt / ModalityEvent.js
index 312249b..6b796d0 100644 (file)
@@ -1,28 +1,28 @@
-Clazz.declarePackage ("jssun.awt");\r
-Clazz.load (["java.awt.AWTEvent", "$.ActiveEvent"], "jssun.awt.ModalityEvent", ["java.lang.Error"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.listener = null;\r
-Clazz.instantialize (this, arguments);\r
-}, jssun.awt, "ModalityEvent", java.awt.AWTEvent, java.awt.ActiveEvent);\r
-Clazz.makeConstructor (c$, \r
-function (source, listener, id) {\r
-Clazz.superConstructor (this, jssun.awt.ModalityEvent, [source, id]);\r
-this.listener = listener;\r
-}, "~O,jssun.awt.ModalityListener,~N");\r
-Clazz.overrideMethod (c$, "dispatch", \r
-function () {\r
-switch (this.getID ()) {\r
-case 1300:\r
-this.listener.modalityPushed (this);\r
-break;\r
-case 1301:\r
-this.listener.modalityPopped (this);\r
-break;\r
-default:\r
-throw  new Error ("Invalid event id.");\r
-}\r
-});\r
-Clazz.defineStatics (c$,\r
-"MODALITY_PUSHED", 1300,\r
-"MODALITY_POPPED", 1301);\r
-});\r
+Clazz.declarePackage ("jssun.awt");
+Clazz.load (["java.awt.AWTEvent", "$.ActiveEvent"], "jssun.awt.ModalityEvent", ["java.lang.Error"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.listener = null;
+Clazz.instantialize (this, arguments);
+}, jssun.awt, "ModalityEvent", java.awt.AWTEvent, java.awt.ActiveEvent);
+Clazz.makeConstructor (c$, 
+function (source, listener, id) {
+Clazz.superConstructor (this, jssun.awt.ModalityEvent, [source, id]);
+this.listener = listener;
+}, "~O,jssun.awt.ModalityListener,~N");
+Clazz.overrideMethod (c$, "dispatch", 
+function () {
+switch (this.getID ()) {
+case 1300:
+this.listener.modalityPushed (this);
+break;
+case 1301:
+this.listener.modalityPopped (this);
+break;
+default:
+throw  new Error ("Invalid event id.");
+}
+});
+Clazz.defineStatics (c$,
+"MODALITY_PUSHED", 1300,
+"MODALITY_POPPED", 1301);
+});