JAL-1807 Bob's JalviewJS prototype first commit
[jalviewjs.git] / site / j2s / java / beans / IndexedPropertyChangeEvent.js
1 Clazz.declarePackage ("java.beans");\r
2 Clazz.load (["java.beans.PropertyChangeEvent"], "java.beans.IndexedPropertyChangeEvent", null, function () {\r
3 c$ = Clazz.decorateAsClass (function () {\r
4 this.index = 0;\r
5 Clazz.instantialize (this, arguments);\r
6 }, java.beans, "IndexedPropertyChangeEvent", java.beans.PropertyChangeEvent);\r
7 Clazz.makeConstructor (c$, \r
8 function (source, propertyName, oldValue, newValue, index) {\r
9 Clazz.superConstructor (this, java.beans.IndexedPropertyChangeEvent, [source, propertyName, oldValue, newValue]);\r
10 this.index = index;\r
11 }, "~O,~S,~O,~O,~N");\r
12 Clazz.defineMethod (c$, "getIndex", \r
13 function () {\r
14 return this.index;\r
15 });\r
16 });\r