X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fswingjs%2Fj2s%2Fjava%2Fawt%2FSentEvent.js;fp=site%2Fswingjs%2Fj2s%2Fjava%2Fawt%2FSentEvent.js;h=a975fc48df7b963650d622fcf09a5d8e47a769e6;hp=0eb80e96780befdafbcbbd316ca3653a4afbd340;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/swingjs/j2s/java/awt/SentEvent.js b/site/swingjs/j2s/java/awt/SentEvent.js index 0eb80e9..a975fc4 100644 --- a/site/swingjs/j2s/java/awt/SentEvent.js +++ b/site/swingjs/j2s/java/awt/SentEvent.js @@ -1,46 +1,46 @@ -Clazz.declarePackage ("java.awt"); -Clazz.load (["java.awt.AWTEvent", "$.ActiveEvent"], "java.awt.SentEvent", ["java.awt.Toolkit", "jssun.awt.SunToolkit"], function () { -c$ = Clazz.decorateAsClass (function () { -this.$dispatched = false; -this.nested = null; -this.toNotify = null; -Clazz.instantialize (this, arguments); -}, java.awt, "SentEvent", java.awt.AWTEvent, java.awt.ActiveEvent); -Clazz.makeConstructor (c$, -function () { -this.construct (null); -}); -Clazz.makeConstructor (c$, -function (nested) { -this.construct (nested, null); -}, "java.awt.AWTEvent"); -Clazz.makeConstructor (c$, -function (nested, toNotify) { -Clazz.superConstructor (this, java.awt.SentEvent, [(nested != null) ? nested.getSource () : java.awt.Toolkit.getDefaultToolkit (), 1007]); -this.nested = nested; -this.toNotify = toNotify; -}, "java.awt.AWTEvent,jssun.awt.AppContext"); -Clazz.overrideMethod (c$, "dispatch", -function () { -try { -if (this.nested != null) { -java.awt.Toolkit.getEventQueue ().dispatchEvent (this.nested); -}} finally { -this.$dispatched = true; -if (this.toNotify != null) { -jssun.awt.SunToolkit.postEvent (this.toNotify, new java.awt.SentEvent ()); -}{ -this.notifyAll (); -}} -}); -Clazz.defineMethod (c$, "dispose", -function () { -this.$dispatched = true; -if (this.toNotify != null) { -jssun.awt.SunToolkit.postEvent (this.toNotify, new java.awt.SentEvent ()); -}{ -this.notifyAll (); -}}); -Clazz.defineStatics (c$, -"ID", 1007); -}); +Clazz.declarePackage ("java.awt"); +Clazz.load (["java.awt.AWTEvent", "$.ActiveEvent"], "java.awt.SentEvent", ["java.awt.Toolkit", "jssun.awt.SunToolkit"], function () { +c$ = Clazz.decorateAsClass (function () { +this.$dispatched = false; +this.nested = null; +this.toNotify = null; +Clazz.instantialize (this, arguments); +}, java.awt, "SentEvent", java.awt.AWTEvent, java.awt.ActiveEvent); +Clazz.makeConstructor (c$, +function () { +this.construct (null); +}); +Clazz.makeConstructor (c$, +function (nested) { +this.construct (nested, null); +}, "java.awt.AWTEvent"); +Clazz.makeConstructor (c$, +function (nested, toNotify) { +Clazz.superConstructor (this, java.awt.SentEvent, [(nested != null) ? nested.getSource () : java.awt.Toolkit.getDefaultToolkit (), 1007]); +this.nested = nested; +this.toNotify = toNotify; +}, "java.awt.AWTEvent,jssun.awt.AppContext"); +Clazz.overrideMethod (c$, "dispatch", +function () { +try { +if (this.nested != null) { +java.awt.Toolkit.getEventQueue ().dispatchEvent (this.nested); +}} finally { +this.$dispatched = true; +if (this.toNotify != null) { +jssun.awt.SunToolkit.postEvent (this.toNotify, new java.awt.SentEvent ()); +}{ +this.notifyAll (); +}} +}); +Clazz.defineMethod (c$, "dispose", +function () { +this.$dispatched = true; +if (this.toNotify != null) { +jssun.awt.SunToolkit.postEvent (this.toNotify, new java.awt.SentEvent ()); +}{ +this.notifyAll (); +}}); +Clazz.defineStatics (c$, +"ID", 1007); +});