X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fjssun%2Fapplet%2FAppletEvent.js;fp=site%2Fj2s%2Fjssun%2Fapplet%2FAppletEvent.js;h=37ec006c723bb77d603bd7a2a968fdf18e7808cf;hp=28424a263134630bb27d03c8ef6da78907128ba1;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/j2s/jssun/applet/AppletEvent.js b/site/j2s/jssun/applet/AppletEvent.js index 28424a2..37ec006 100644 --- a/site/j2s/jssun/applet/AppletEvent.js +++ b/site/j2s/jssun/applet/AppletEvent.js @@ -1,30 +1,30 @@ -Clazz.declarePackage ("jssun.applet"); -Clazz.load (["java.util.EventObject"], "jssun.applet.AppletEvent", null, function () { -c$ = Clazz.decorateAsClass (function () { -this.arg = null; -this.id = 0; -Clazz.instantialize (this, arguments); -}, jssun.applet, "AppletEvent", java.util.EventObject); -Clazz.makeConstructor (c$, -function (source, id, argument) { -Clazz.superConstructor (this, jssun.applet.AppletEvent, [source]); -this.arg = argument; -this.id = id; -}, "~O,~N,~O"); -Clazz.defineMethod (c$, "getID", -function () { -return this.id; -}); -Clazz.defineMethod (c$, "getArgument", -function () { -return this.arg; -}); -Clazz.overrideMethod (c$, "toString", -function () { -var str = this.getClass ().getName () + "[source=" + this.source + " + id=" + this.id; -if (this.arg != null) { -str += " + arg=" + this.arg; -}str += " ]"; -return str; -}); -}); +Clazz.declarePackage ("jssun.applet"); +Clazz.load (["java.util.EventObject"], "jssun.applet.AppletEvent", null, function () { +c$ = Clazz.decorateAsClass (function () { +this.arg = null; +this.id = 0; +Clazz.instantialize (this, arguments); +}, jssun.applet, "AppletEvent", java.util.EventObject); +Clazz.makeConstructor (c$, +function (source, id, argument) { +Clazz.superConstructor (this, jssun.applet.AppletEvent, [source]); +this.arg = argument; +this.id = id; +}, "~O,~N,~O"); +Clazz.defineMethod (c$, "getID", +function () { +return this.id; +}); +Clazz.defineMethod (c$, "getArgument", +function () { +return this.arg; +}); +Clazz.overrideMethod (c$, "toString", +function () { +var str = this.getClass ().getName () + "[source=" + this.source + " + id=" + this.id; +if (this.arg != null) { +str += " + arg=" + this.arg; +}str += " ]"; +return str; +}); +});