Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / swingjs / j2s / jssun / applet / AppletEventMulticaster.js
index b55fc4b..b54b0f1 100644 (file)
@@ -1,51 +1,51 @@
-Clazz.declarePackage ("jssun.applet");\r
-Clazz.load (["jssun.applet.AppletListener"], "jssun.applet.AppletEventMulticaster", null, function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.a = null;\r
-this.b = null;\r
-Clazz.instantialize (this, arguments);\r
-}, jssun.applet, "AppletEventMulticaster", null, jssun.applet.AppletListener);\r
-Clazz.makeConstructor (c$, \r
-function (a, b) {\r
-this.a = a;\r
-this.b = b;\r
-}, "jssun.applet.AppletListener,jssun.applet.AppletListener");\r
-Clazz.defineMethod (c$, "appletStateChanged", \r
-function (e) {\r
-this.a.appletStateChanged (e);\r
-this.b.appletStateChanged (e);\r
-}, "jssun.applet.AppletEvent");\r
-c$.add = Clazz.defineMethod (c$, "add", \r
-function (a, b) {\r
-return jssun.applet.AppletEventMulticaster.addInternal (a, b);\r
-}, "jssun.applet.AppletListener,jssun.applet.AppletListener");\r
-c$.remove = Clazz.defineMethod (c$, "remove", \r
-function (l, oldl) {\r
-return jssun.applet.AppletEventMulticaster.removeInternal (l, oldl);\r
-}, "jssun.applet.AppletListener,jssun.applet.AppletListener");\r
-c$.addInternal = Clazz.defineMethod (c$, "addInternal", \r
- function (a, b) {\r
-if (a == null) return b;\r
-if (b == null) return a;\r
-return  new jssun.applet.AppletEventMulticaster (a, b);\r
-}, "jssun.applet.AppletListener,jssun.applet.AppletListener");\r
-Clazz.defineMethod (c$, "remove", \r
-function (oldl) {\r
-if (oldl === this.a) return this.b;\r
-if (oldl === this.b) return this.a;\r
-var a2 = jssun.applet.AppletEventMulticaster.removeInternal (this.a, oldl);\r
-var b2 = jssun.applet.AppletEventMulticaster.removeInternal (this.b, oldl);\r
-if (a2 === this.a && b2 === this.b) {\r
-return this;\r
-}return jssun.applet.AppletEventMulticaster.addInternal (a2, b2);\r
-}, "jssun.applet.AppletListener");\r
-c$.removeInternal = Clazz.defineMethod (c$, "removeInternal", \r
- function (l, oldl) {\r
-if (l === oldl || l == null) {\r
-return null;\r
-} else if (Clazz.instanceOf (l, jssun.applet.AppletEventMulticaster)) {\r
-return (l).remove (oldl);\r
-} else {\r
-return l;\r
-}}, "jssun.applet.AppletListener,jssun.applet.AppletListener");\r
-});\r
+Clazz.declarePackage ("jssun.applet");
+Clazz.load (["jssun.applet.AppletListener"], "jssun.applet.AppletEventMulticaster", null, function () {
+c$ = Clazz.decorateAsClass (function () {
+this.a = null;
+this.b = null;
+Clazz.instantialize (this, arguments);
+}, jssun.applet, "AppletEventMulticaster", null, jssun.applet.AppletListener);
+Clazz.makeConstructor (c$, 
+function (a, b) {
+this.a = a;
+this.b = b;
+}, "jssun.applet.AppletListener,jssun.applet.AppletListener");
+Clazz.defineMethod (c$, "appletStateChanged", 
+function (e) {
+this.a.appletStateChanged (e);
+this.b.appletStateChanged (e);
+}, "jssun.applet.AppletEvent");
+c$.add = Clazz.defineMethod (c$, "add", 
+function (a, b) {
+return jssun.applet.AppletEventMulticaster.addInternal (a, b);
+}, "jssun.applet.AppletListener,jssun.applet.AppletListener");
+c$.remove = Clazz.defineMethod (c$, "remove", 
+function (l, oldl) {
+return jssun.applet.AppletEventMulticaster.removeInternal (l, oldl);
+}, "jssun.applet.AppletListener,jssun.applet.AppletListener");
+c$.addInternal = Clazz.defineMethod (c$, "addInternal", 
+ function (a, b) {
+if (a == null) return b;
+if (b == null) return a;
+return  new jssun.applet.AppletEventMulticaster (a, b);
+}, "jssun.applet.AppletListener,jssun.applet.AppletListener");
+Clazz.defineMethod (c$, "remove", 
+function (oldl) {
+if (oldl === this.a) return this.b;
+if (oldl === this.b) return this.a;
+var a2 = jssun.applet.AppletEventMulticaster.removeInternal (this.a, oldl);
+var b2 = jssun.applet.AppletEventMulticaster.removeInternal (this.b, oldl);
+if (a2 === this.a && b2 === this.b) {
+return this;
+}return jssun.applet.AppletEventMulticaster.addInternal (a2, b2);
+}, "jssun.applet.AppletListener");
+c$.removeInternal = Clazz.defineMethod (c$, "removeInternal", 
+ function (l, oldl) {
+if (l === oldl || l == null) {
+return null;
+} else if (Clazz.instanceOf (l, jssun.applet.AppletEventMulticaster)) {
+return (l).remove (oldl);
+} else {
+return l;
+}}, "jssun.applet.AppletListener,jssun.applet.AppletListener");
+});