1 Clazz.declarePackage ("java.beans");
\r
2 Clazz.load (["java.util.EventObject"], "java.beans.PropertyChangeEvent", null, function () {
\r
3 c$ = Clazz.decorateAsClass (function () {
\r
4 this.propertyName = null;
\r
5 this.newValue = null;
\r
6 this.oldValue = null;
\r
7 this.propagationId = null;
\r
8 Clazz.instantialize (this, arguments);
\r
9 }, java.beans, "PropertyChangeEvent", java.util.EventObject);
\r
10 Clazz.makeConstructor (c$,
\r
11 function (source, propertyName, oldValue, newValue) {
\r
12 Clazz.superConstructor (this, java.beans.PropertyChangeEvent, [source]);
\r
13 this.propertyName = propertyName;
\r
14 this.newValue = newValue;
\r
15 this.oldValue = oldValue;
\r
17 Clazz.defineMethod (c$, "getPropertyName",
\r
19 return this.propertyName;
\r
21 Clazz.defineMethod (c$, "getNewValue",
\r
23 return this.newValue;
\r
25 Clazz.defineMethod (c$, "getOldValue",
\r
27 return this.oldValue;
\r
29 Clazz.defineMethod (c$, "setPropagationId",
\r
30 function (propagationId) {
\r
31 this.propagationId = propagationId;
\r
33 Clazz.defineMethod (c$, "getPropagationId",
\r
35 return this.propagationId;
\r