X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fjava%2Fbeans%2FPropertyChangeEvent.js;h=b2f5486accd9cacb2060e427af59f6a664fcc91d;hp=a85f8eba185121c5c5b6e5470f420e8b04a5cf89;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/j2s/java/beans/PropertyChangeEvent.js b/site/j2s/java/beans/PropertyChangeEvent.js index a85f8eb..b2f5486 100644 --- a/site/j2s/java/beans/PropertyChangeEvent.js +++ b/site/j2s/java/beans/PropertyChangeEvent.js @@ -1,37 +1,37 @@ -Clazz.declarePackage ("java.beans"); -Clazz.load (["java.util.EventObject"], "java.beans.PropertyChangeEvent", null, function () { -c$ = Clazz.decorateAsClass (function () { -this.propertyName = null; -this.newValue = null; -this.oldValue = null; -this.propagationId = null; -Clazz.instantialize (this, arguments); -}, java.beans, "PropertyChangeEvent", java.util.EventObject); -Clazz.makeConstructor (c$, -function (source, propertyName, oldValue, newValue) { -Clazz.superConstructor (this, java.beans.PropertyChangeEvent, [source]); -this.propertyName = propertyName; -this.newValue = newValue; -this.oldValue = oldValue; -}, "~O,~S,~O,~O"); -Clazz.defineMethod (c$, "getPropertyName", -function () { -return this.propertyName; -}); -Clazz.defineMethod (c$, "getNewValue", -function () { -return this.newValue; -}); -Clazz.defineMethod (c$, "getOldValue", -function () { -return this.oldValue; -}); -Clazz.defineMethod (c$, "setPropagationId", -function (propagationId) { -this.propagationId = propagationId; -}, "~O"); -Clazz.defineMethod (c$, "getPropagationId", -function () { -return this.propagationId; -}); -}); +Clazz.declarePackage ("java.beans"); +Clazz.load (["java.util.EventObject"], "java.beans.PropertyChangeEvent", null, function () { +c$ = Clazz.decorateAsClass (function () { +this.propertyName = null; +this.newValue = null; +this.oldValue = null; +this.propagationId = null; +Clazz.instantialize (this, arguments); +}, java.beans, "PropertyChangeEvent", java.util.EventObject); +Clazz.makeConstructor (c$, +function (source, propertyName, oldValue, newValue) { +Clazz.superConstructor (this, java.beans.PropertyChangeEvent, [source]); +this.propertyName = propertyName; +this.newValue = newValue; +this.oldValue = oldValue; +}, "~O,~S,~O,~O"); +Clazz.defineMethod (c$, "getPropertyName", +function () { +return this.propertyName; +}); +Clazz.defineMethod (c$, "getNewValue", +function () { +return this.newValue; +}); +Clazz.defineMethod (c$, "getOldValue", +function () { +return this.oldValue; +}); +Clazz.defineMethod (c$, "setPropagationId", +function (propagationId) { +this.propagationId = propagationId; +}, "~O"); +Clazz.defineMethod (c$, "getPropagationId", +function () { +return this.propagationId; +}); +});