1 Clazz.declarePackage ("javax.swing.event");
\r
2 Clazz.load (["java.util.EventObject"], "javax.swing.event.ListSelectionEvent", null, function () {
\r
3 c$ = Clazz.decorateAsClass (function () {
\r
6 this.isAdjusting = false;
\r
7 Clazz.instantialize (this, arguments);
\r
8 }, javax.swing.event, "ListSelectionEvent", java.util.EventObject);
\r
9 Clazz.makeConstructor (c$,
\r
10 function (source, firstIndex, lastIndex, isAdjusting) {
\r
11 Clazz.superConstructor (this, javax.swing.event.ListSelectionEvent, [source]);
\r
12 this.firstIndex = firstIndex;
\r
13 this.lastIndex = lastIndex;
\r
14 this.isAdjusting = isAdjusting;
\r
16 Clazz.defineMethod (c$, "getFirstIndex",
\r
18 return this.firstIndex;
\r
20 Clazz.defineMethod (c$, "getLastIndex",
\r
22 return this.lastIndex;
\r
24 Clazz.defineMethod (c$, "getValueIsAdjusting",
\r
26 return this.isAdjusting;
\r
28 Clazz.overrideMethod (c$, "toString",
\r
30 var properties = " source=" + this.getSource () + " firstIndex= " + this.firstIndex + " lastIndex= " + this.lastIndex + " isAdjusting= " + this.isAdjusting + " ";
\r
31 return this.getClass ().getName () + "[" + properties + "]";
\r