775a9a0ffe548a7725db224c2523b01219e51343
[jalviewjs.git] / site / j2s / javax / swing / event / TableColumnModelEvent.js
1 Clazz.declarePackage ("javax.swing.event");
2 Clazz.load (["java.util.EventObject"], "javax.swing.event.TableColumnModelEvent", null, function () {
3 c$ = Clazz.decorateAsClass (function () {
4 this.fromIndex = 0;
5 this.toIndex = 0;
6 Clazz.instantialize (this, arguments);
7 }, javax.swing.event, "TableColumnModelEvent", java.util.EventObject);
8 Clazz.makeConstructor (c$, 
9 function (source, from, to) {
10 Clazz.superConstructor (this, javax.swing.event.TableColumnModelEvent, [source]);
11 this.fromIndex = from;
12 this.toIndex = to;
13 }, "javax.swing.table.TableColumnModel,~N,~N");
14 Clazz.defineMethod (c$, "getFromIndex", 
15 function () {
16 return this.fromIndex;
17 });
18 Clazz.defineMethod (c$, "getToIndex", 
19 function () {
20 return this.toIndex;
21 });
22 });