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