1 Clazz.declarePackage ("javax.swing.event");
2 Clazz.load (["java.util.EventObject"], "javax.swing.event.ListDataEvent", null, function () {
3 c$ = Clazz.decorateAsClass (function () {
7 Clazz.instantialize (this, arguments);
8 }, javax.swing.event, "ListDataEvent", java.util.EventObject);
9 Clazz.defineMethod (c$, "getType",
13 Clazz.defineMethod (c$, "getIndex0",
17 Clazz.defineMethod (c$, "getIndex1",
21 Clazz.makeConstructor (c$,
22 function (source, type, index0, index1) {
23 Clazz.superConstructor (this, javax.swing.event.ListDataEvent, [source]);
25 this.index0 = Math.min (index0, index1);
26 this.index1 = Math.max (index0, index1);
28 Clazz.overrideMethod (c$, "toString",
30 return this.getClass ().getName () + "[type=" + this.type + ",index0=" + this.index0 + ",index1=" + this.index1 + "]";
32 Clazz.defineStatics (c$,
33 "CONTENTS_CHANGED", 0,
35 "INTERVAL_REMOVED", 2);