X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fj2s%2Fjavax%2Fswing%2Fevent%2FListSelectionEvent.js;fp=site%2Fj2s%2Fjavax%2Fswing%2Fevent%2FListSelectionEvent.js;h=cfd53b0467639503b177a9efb1cbce84f0df64b5;hp=a4ddb801cd565f91e10eec9531da86fe95d3b986;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/j2s/javax/swing/event/ListSelectionEvent.js b/site/j2s/javax/swing/event/ListSelectionEvent.js index a4ddb80..cfd53b0 100644 --- a/site/j2s/javax/swing/event/ListSelectionEvent.js +++ b/site/j2s/javax/swing/event/ListSelectionEvent.js @@ -1,33 +1,33 @@ -Clazz.declarePackage ("javax.swing.event"); -Clazz.load (["java.util.EventObject"], "javax.swing.event.ListSelectionEvent", null, function () { -c$ = Clazz.decorateAsClass (function () { -this.firstIndex = 0; -this.lastIndex = 0; -this.isAdjusting = false; -Clazz.instantialize (this, arguments); -}, javax.swing.event, "ListSelectionEvent", java.util.EventObject); -Clazz.makeConstructor (c$, -function (source, firstIndex, lastIndex, isAdjusting) { -Clazz.superConstructor (this, javax.swing.event.ListSelectionEvent, [source]); -this.firstIndex = firstIndex; -this.lastIndex = lastIndex; -this.isAdjusting = isAdjusting; -}, "~O,~N,~N,~B"); -Clazz.defineMethod (c$, "getFirstIndex", -function () { -return this.firstIndex; -}); -Clazz.defineMethod (c$, "getLastIndex", -function () { -return this.lastIndex; -}); -Clazz.defineMethod (c$, "getValueIsAdjusting", -function () { -return this.isAdjusting; -}); -Clazz.overrideMethod (c$, "toString", -function () { -var properties = " source=" + this.getSource () + " firstIndex= " + this.firstIndex + " lastIndex= " + this.lastIndex + " isAdjusting= " + this.isAdjusting + " "; -return this.getClass ().getName () + "[" + properties + "]"; -}); -}); +Clazz.declarePackage ("javax.swing.event"); +Clazz.load (["java.util.EventObject"], "javax.swing.event.ListSelectionEvent", null, function () { +c$ = Clazz.decorateAsClass (function () { +this.firstIndex = 0; +this.lastIndex = 0; +this.isAdjusting = false; +Clazz.instantialize (this, arguments); +}, javax.swing.event, "ListSelectionEvent", java.util.EventObject); +Clazz.makeConstructor (c$, +function (source, firstIndex, lastIndex, isAdjusting) { +Clazz.superConstructor (this, javax.swing.event.ListSelectionEvent, [source]); +this.firstIndex = firstIndex; +this.lastIndex = lastIndex; +this.isAdjusting = isAdjusting; +}, "~O,~N,~N,~B"); +Clazz.defineMethod (c$, "getFirstIndex", +function () { +return this.firstIndex; +}); +Clazz.defineMethod (c$, "getLastIndex", +function () { +return this.lastIndex; +}); +Clazz.defineMethod (c$, "getValueIsAdjusting", +function () { +return this.isAdjusting; +}); +Clazz.overrideMethod (c$, "toString", +function () { +var properties = " source=" + this.getSource () + " firstIndex= " + this.firstIndex + " lastIndex= " + this.lastIndex + " isAdjusting= " + this.isAdjusting + " "; +return this.getClass ().getName () + "[" + properties + "]"; +}); +});