Merge branch 'master' of https://source.jalview.org/git/jalviewjs.git
[jalviewjs.git] / site / j2s / javax / swing / event / TreeModelEvent.js
index 0dffcbf..57b3a28 100644 (file)
@@ -1,74 +1,74 @@
-Clazz.declarePackage ("javax.swing.event");\r
-Clazz.load (["java.util.EventObject"], "javax.swing.event.TreeModelEvent", ["java.lang.StringBuffer", "javax.swing.tree.TreePath"], function () {\r
-c$ = Clazz.decorateAsClass (function () {\r
-this.path = null;\r
-this.childIndices = null;\r
-this.children = null;\r
-Clazz.instantialize (this, arguments);\r
-}, javax.swing.event, "TreeModelEvent", java.util.EventObject);\r
-Clazz.makeConstructor (c$, \r
-function (source, path, childIndices, children) {\r
-this.construct (source,  new javax.swing.tree.TreePath (path), childIndices, children);\r
-}, "~O,~A,~A,~A");\r
-Clazz.makeConstructor (c$, \r
-function (source, path, childIndices, children) {\r
-Clazz.superConstructor (this, javax.swing.event.TreeModelEvent, [source]);\r
-this.path = path;\r
-this.childIndices = childIndices;\r
-this.children = children;\r
-}, "~O,javax.swing.tree.TreePath,~A,~A");\r
-Clazz.makeConstructor (c$, \r
-function (source, path) {\r
-this.construct (source,  new javax.swing.tree.TreePath (path));\r
-}, "~O,~A");\r
-Clazz.makeConstructor (c$, \r
-function (source, path) {\r
-Clazz.superConstructor (this, javax.swing.event.TreeModelEvent, [source]);\r
-this.path = path;\r
-this.childIndices =  Clazz.newIntArray (0, 0);\r
-}, "~O,javax.swing.tree.TreePath");\r
-Clazz.defineMethod (c$, "getTreePath", \r
-function () {\r
-return this.path;\r
-});\r
-Clazz.defineMethod (c$, "getPath", \r
-function () {\r
-if (this.path != null) return this.path.getPath ();\r
-return null;\r
-});\r
-Clazz.defineMethod (c$, "getChildren", \r
-function () {\r
-if (this.children != null) {\r
-var cCount = this.children.length;\r
-var retChildren =  new Array (cCount);\r
-System.arraycopy (this.children, 0, retChildren, 0, cCount);\r
-return retChildren;\r
-}return null;\r
-});\r
-Clazz.defineMethod (c$, "getChildIndices", \r
-function () {\r
-if (this.childIndices != null) {\r
-var cCount = this.childIndices.length;\r
-var retArray =  Clazz.newIntArray (cCount, 0);\r
-System.arraycopy (this.childIndices, 0, retArray, 0, cCount);\r
-return retArray;\r
-}return null;\r
-});\r
-Clazz.overrideMethod (c$, "toString", \r
-function () {\r
-var retBuffer =  new StringBuffer ();\r
-retBuffer.append (this.getClass ().getName () + " " + Integer.toString (this.hashCode ()));\r
-if (this.path != null) retBuffer.append (" path " + this.path);\r
-if (this.childIndices != null) {\r
-retBuffer.append (" indices [ ");\r
-for (var counter = 0; counter < this.childIndices.length; counter++) retBuffer.append (Integer.toString (this.childIndices[counter]) + " ");\r
-\r
-retBuffer.append ("]");\r
-}if (this.children != null) {\r
-retBuffer.append (" children [ ");\r
-for (var counter = 0; counter < this.children.length; counter++) retBuffer.append (this.children[counter] + " ");\r
-\r
-retBuffer.append ("]");\r
-}return retBuffer.toString ();\r
-});\r
-});\r
+Clazz.declarePackage ("javax.swing.event");
+Clazz.load (["java.util.EventObject"], "javax.swing.event.TreeModelEvent", ["java.lang.StringBuffer", "javax.swing.tree.TreePath"], function () {
+c$ = Clazz.decorateAsClass (function () {
+this.path = null;
+this.childIndices = null;
+this.children = null;
+Clazz.instantialize (this, arguments);
+}, javax.swing.event, "TreeModelEvent", java.util.EventObject);
+Clazz.makeConstructor (c$, 
+function (source, path, childIndices, children) {
+this.construct (source,  new javax.swing.tree.TreePath (path), childIndices, children);
+}, "~O,~A,~A,~A");
+Clazz.makeConstructor (c$, 
+function (source, path, childIndices, children) {
+Clazz.superConstructor (this, javax.swing.event.TreeModelEvent, [source]);
+this.path = path;
+this.childIndices = childIndices;
+this.children = children;
+}, "~O,javax.swing.tree.TreePath,~A,~A");
+Clazz.makeConstructor (c$, 
+function (source, path) {
+this.construct (source,  new javax.swing.tree.TreePath (path));
+}, "~O,~A");
+Clazz.makeConstructor (c$, 
+function (source, path) {
+Clazz.superConstructor (this, javax.swing.event.TreeModelEvent, [source]);
+this.path = path;
+this.childIndices =  Clazz.newIntArray (0, 0);
+}, "~O,javax.swing.tree.TreePath");
+Clazz.defineMethod (c$, "getTreePath", 
+function () {
+return this.path;
+});
+Clazz.defineMethod (c$, "getPath", 
+function () {
+if (this.path != null) return this.path.getPath ();
+return null;
+});
+Clazz.defineMethod (c$, "getChildren", 
+function () {
+if (this.children != null) {
+var cCount = this.children.length;
+var retChildren =  new Array (cCount);
+System.arraycopy (this.children, 0, retChildren, 0, cCount);
+return retChildren;
+}return null;
+});
+Clazz.defineMethod (c$, "getChildIndices", 
+function () {
+if (this.childIndices != null) {
+var cCount = this.childIndices.length;
+var retArray =  Clazz.newIntArray (cCount, 0);
+System.arraycopy (this.childIndices, 0, retArray, 0, cCount);
+return retArray;
+}return null;
+});
+Clazz.overrideMethod (c$, "toString", 
+function () {
+var retBuffer =  new StringBuffer ();
+retBuffer.append (this.getClass ().getName () + " " + Integer.toString (this.hashCode ()));
+if (this.path != null) retBuffer.append (" path " + this.path);
+if (this.childIndices != null) {
+retBuffer.append (" indices [ ");
+for (var counter = 0; counter < this.childIndices.length; counter++) retBuffer.append (Integer.toString (this.childIndices[counter]) + " ");
+
+retBuffer.append ("]");
+}if (this.children != null) {
+retBuffer.append (" children [ ");
+for (var counter = 0; counter < this.children.length; counter++) retBuffer.append (this.children[counter] + " ");
+
+retBuffer.append ("]");
+}return retBuffer.toString ();
+});
+});