Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / java / beans / IndexedPropertyChangeEvent.js
1 Clazz.declarePackage ("java.beans");
2 Clazz.load (["java.beans.PropertyChangeEvent"], "java.beans.IndexedPropertyChangeEvent", null, function () {
3 c$ = Clazz.decorateAsClass (function () {
4 this.index = 0;
5 Clazz.instantialize (this, arguments);
6 }, java.beans, "IndexedPropertyChangeEvent", java.beans.PropertyChangeEvent);
7 Clazz.makeConstructor (c$, 
8 function (source, propertyName, oldValue, newValue, index) {
9 Clazz.superConstructor (this, java.beans.IndexedPropertyChangeEvent, [source, propertyName, oldValue, newValue]);
10 this.index = index;
11 }, "~O,~S,~O,~O,~N");
12 Clazz.defineMethod (c$, "getIndex", 
13 function () {
14 return this.index;
15 });
16 });