X-Git-Url: http://source.jalview.org/gitweb/?p=jalviewjs.git;a=blobdiff_plain;f=site%2Fswingjs%2Fj2s%2Fjavax%2Fswing%2Fevent%2FListDataEvent.js;fp=site%2Fswingjs%2Fj2s%2Fjavax%2Fswing%2Fevent%2FListDataEvent.js;h=67e1857b787fcf9dd750a8570c5053efefd8f4c3;hp=44ac7435023457a7ef4369f8bf36cb92161938de;hb=b9b7a352eee79b7764c3b09c9d19663075061d8c;hpb=7301a2415adab88038b291fc54caeeb3a5a47a44 diff --git a/site/swingjs/j2s/javax/swing/event/ListDataEvent.js b/site/swingjs/j2s/javax/swing/event/ListDataEvent.js index 44ac743..67e1857 100644 --- a/site/swingjs/j2s/javax/swing/event/ListDataEvent.js +++ b/site/swingjs/j2s/javax/swing/event/ListDataEvent.js @@ -1,36 +1,36 @@ -Clazz.declarePackage ("javax.swing.event"); -Clazz.load (["java.util.EventObject"], "javax.swing.event.ListDataEvent", null, function () { -c$ = Clazz.decorateAsClass (function () { -this.type = 0; -this.index0 = 0; -this.index1 = 0; -Clazz.instantialize (this, arguments); -}, javax.swing.event, "ListDataEvent", java.util.EventObject); -Clazz.defineMethod (c$, "getType", -function () { -return this.type; -}); -Clazz.defineMethod (c$, "getIndex0", -function () { -return this.index0; -}); -Clazz.defineMethod (c$, "getIndex1", -function () { -return this.index1; -}); -Clazz.makeConstructor (c$, -function (source, type, index0, index1) { -Clazz.superConstructor (this, javax.swing.event.ListDataEvent, [source]); -this.type = type; -this.index0 = Math.min (index0, index1); -this.index1 = Math.max (index0, index1); -}, "~O,~N,~N,~N"); -Clazz.overrideMethod (c$, "toString", -function () { -return this.getClass ().getName () + "[type=" + this.type + ",index0=" + this.index0 + ",index1=" + this.index1 + "]"; -}); -Clazz.defineStatics (c$, -"CONTENTS_CHANGED", 0, -"INTERVAL_ADDED", 1, -"INTERVAL_REMOVED", 2); -}); +Clazz.declarePackage ("javax.swing.event"); +Clazz.load (["java.util.EventObject"], "javax.swing.event.ListDataEvent", null, function () { +c$ = Clazz.decorateAsClass (function () { +this.type = 0; +this.index0 = 0; +this.index1 = 0; +Clazz.instantialize (this, arguments); +}, javax.swing.event, "ListDataEvent", java.util.EventObject); +Clazz.defineMethod (c$, "getType", +function () { +return this.type; +}); +Clazz.defineMethod (c$, "getIndex0", +function () { +return this.index0; +}); +Clazz.defineMethod (c$, "getIndex1", +function () { +return this.index1; +}); +Clazz.makeConstructor (c$, +function (source, type, index0, index1) { +Clazz.superConstructor (this, javax.swing.event.ListDataEvent, [source]); +this.type = type; +this.index0 = Math.min (index0, index1); +this.index1 = Math.max (index0, index1); +}, "~O,~N,~N,~N"); +Clazz.overrideMethod (c$, "toString", +function () { +return this.getClass ().getName () + "[type=" + this.type + ",index0=" + this.index0 + ",index1=" + this.index1 + "]"; +}); +Clazz.defineStatics (c$, +"CONTENTS_CHANGED", 0, +"INTERVAL_ADDED", 1, +"INTERVAL_REMOVED", 2); +});