1 Clazz.declarePackage ("javax.swing.tree");
\r
2 Clazz.load (["java.util.Enumeration", "javax.swing.tree.MutableTreeNode", "java.util.NoSuchElementException"], "javax.swing.tree.DefaultMutableTreeNode", ["java.lang.ArrayIndexOutOfBoundsException", "$.Error", "$.IllegalArgumentException", "$.IllegalStateException", "java.util.Stack", "$.Vector"], function () {
\r
3 c$ = Clazz.decorateAsClass (function () {
\r
5 this.$children = null;
\r
6 this.userObject = null;
\r
7 this.allowsChildren = false;
\r
8 if (!Clazz.isClassDefined ("javax.swing.tree.DefaultMutableTreeNode.PreorderEnumeration")) {
\r
9 javax.swing.tree.DefaultMutableTreeNode.$DefaultMutableTreeNode$PreorderEnumeration$ ();
\r
11 if (!Clazz.isClassDefined ("javax.swing.tree.DefaultMutableTreeNode.PostorderEnumeration")) {
\r
12 javax.swing.tree.DefaultMutableTreeNode.$DefaultMutableTreeNode$PostorderEnumeration$ ();
\r
14 if (!Clazz.isClassDefined ("javax.swing.tree.DefaultMutableTreeNode.BreadthFirstEnumeration")) {
\r
15 javax.swing.tree.DefaultMutableTreeNode.$DefaultMutableTreeNode$BreadthFirstEnumeration$ ();
\r
17 if (!Clazz.isClassDefined ("javax.swing.tree.DefaultMutableTreeNode.PathBetweenNodesEnumeration")) {
\r
18 javax.swing.tree.DefaultMutableTreeNode.$DefaultMutableTreeNode$PathBetweenNodesEnumeration$ ();
\r
20 Clazz.instantialize (this, arguments);
\r
21 }, javax.swing.tree, "DefaultMutableTreeNode", null, [Cloneable, javax.swing.tree.MutableTreeNode]);
\r
22 Clazz.makeConstructor (c$,
\r
24 this.construct (null);
\r
26 Clazz.makeConstructor (c$,
\r
27 function (userObject) {
\r
28 this.construct (userObject, true);
\r
30 Clazz.makeConstructor (c$,
\r
31 function (userObject, allowsChildren) {
\r
33 this.allowsChildren = allowsChildren;
\r
34 this.userObject = userObject;
\r
36 Clazz.overrideMethod (c$, "insert",
\r
37 function (newChild, childIndex) {
\r
38 if (!this.allowsChildren) {
\r
39 throw new IllegalStateException ("node does not allow children");
\r
40 } else if (newChild == null) {
\r
41 throw new IllegalArgumentException ("new child is null");
\r
42 } else if (this.isNodeAncestor (newChild)) {
\r
43 throw new IllegalArgumentException ("new child is an ancestor");
\r
44 }var oldParent = newChild.getParent ();
\r
45 if (oldParent != null) {
\r
46 oldParent.remove (newChild);
\r
47 }newChild.setParent (this);
\r
48 if (this.$children == null) {
\r
49 this.$children = new java.util.Vector ();
\r
50 }this.$children.insertElementAt (newChild, childIndex);
\r
51 }, "javax.swing.tree.MutableTreeNode,~N");
\r
52 Clazz.defineMethod (c$, "remove",
\r
53 function (childIndex) {
\r
54 var child = this.getChildAt (childIndex);
\r
55 this.$children.removeElementAt (childIndex);
\r
56 child.setParent (null);
\r
58 Clazz.defineMethod (c$, "setParent",
\r
59 function (newParent) {
\r
60 this.parent = newParent;
\r
61 }, "javax.swing.tree.MutableTreeNode");
\r
62 Clazz.defineMethod (c$, "getParent",
\r
66 Clazz.overrideMethod (c$, "getChildAt",
\r
68 if (this.$children == null) {
\r
69 throw new ArrayIndexOutOfBoundsException ("node has no children");
\r
70 }return this.$children.elementAt (index);
\r
72 Clazz.defineMethod (c$, "getChildCount",
\r
74 if (this.$children == null) {
\r
77 return this.$children.size ();
\r
79 Clazz.overrideMethod (c$, "getIndex",
\r
81 if (aChild == null) {
\r
82 throw new IllegalArgumentException ("argument is null");
\r
83 }if (!this.isNodeChild (aChild)) {
\r
85 }return this.$children.indexOf (aChild);
\r
86 }, "javax.swing.tree.TreeNode");
\r
87 Clazz.defineMethod (c$, "children",
\r
89 if (this.$children == null) {
\r
90 return javax.swing.tree.DefaultMutableTreeNode.EMPTY_ENUMERATION;
\r
92 return this.$children.elements ();
\r
94 Clazz.defineMethod (c$, "setAllowsChildren",
\r
96 if (allows != this.allowsChildren) {
\r
97 this.allowsChildren = allows;
\r
98 if (!this.allowsChildren) {
\r
99 this.removeAllChildren ();
\r
101 Clazz.overrideMethod (c$, "getAllowsChildren",
\r
103 return this.allowsChildren;
\r
105 Clazz.overrideMethod (c$, "setUserObject",
\r
106 function (userObject) {
\r
107 this.userObject = userObject;
\r
109 Clazz.defineMethod (c$, "getUserObject",
\r
111 return this.userObject;
\r
113 Clazz.overrideMethod (c$, "removeFromParent",
\r
115 var parent = this.getParent ();
\r
116 if (parent != null) {
\r
117 parent.remove (this);
\r
119 Clazz.defineMethod (c$, "remove",
\r
120 function (aChild) {
\r
121 if (aChild == null) {
\r
122 throw new IllegalArgumentException ("argument is null");
\r
123 }if (!this.isNodeChild (aChild)) {
\r
124 throw new IllegalArgumentException ("argument is not a child");
\r
125 }this.remove (this.getIndex (aChild));
\r
126 }, "javax.swing.tree.MutableTreeNode");
\r
127 Clazz.defineMethod (c$, "removeAllChildren",
\r
129 for (var i = this.getChildCount () - 1; i >= 0; i--) {
\r
133 Clazz.defineMethod (c$, "add",
\r
134 function (newChild) {
\r
135 if (newChild != null && newChild.getParent () === this) this.insert (newChild, this.getChildCount () - 1);
\r
136 else this.insert (newChild, this.getChildCount ());
\r
137 }, "javax.swing.tree.MutableTreeNode");
\r
138 Clazz.defineMethod (c$, "isNodeAncestor",
\r
139 function (anotherNode) {
\r
140 if (anotherNode == null) {
\r
142 }var ancestor = this;
\r
144 if (ancestor === anotherNode) {
\r
146 }} while ((ancestor = ancestor.getParent ()) != null);
\r
148 }, "javax.swing.tree.TreeNode");
\r
149 Clazz.defineMethod (c$, "isNodeDescendant",
\r
150 function (anotherNode) {
\r
151 if (anotherNode == null) return false;
\r
152 return anotherNode.isNodeAncestor (this);
\r
153 }, "javax.swing.tree.DefaultMutableTreeNode");
\r
154 Clazz.defineMethod (c$, "getSharedAncestor",
\r
156 if (aNode === this) {
\r
158 } else if (aNode == null) {
\r
165 level1 = this.getLevel ();
\r
166 level2 = aNode.getLevel ();
\r
167 if (level2 > level1) {
\r
168 diff = level2 - level1;
\r
172 diff = level1 - level2;
\r
175 }while (diff > 0) {
\r
176 node1 = node1.getParent ();
\r
180 if (node1 === node2) {
\r
182 }node1 = node1.getParent ();
\r
183 node2 = node2.getParent ();
\r
184 } while (node1 != null);
\r
185 if (node1 != null || node2 != null) {
\r
186 throw new Error ("nodes should be null");
\r
188 }, "javax.swing.tree.DefaultMutableTreeNode");
\r
189 Clazz.defineMethod (c$, "isNodeRelated",
\r
191 return (aNode != null) && (this.getRoot () === aNode.getRoot ());
\r
192 }, "javax.swing.tree.DefaultMutableTreeNode");
\r
193 Clazz.defineMethod (c$, "getDepth",
\r
196 var enum_ = this.breadthFirstEnumeration ();
\r
197 while (enum_.hasMoreElements ()) {
\r
198 last = enum_.nextElement ();
\r
200 if (last == null) {
\r
201 throw new Error ("nodes should be null");
\r
202 }return (last).getLevel () - this.getLevel ();
\r
204 Clazz.defineMethod (c$, "getLevel",
\r
209 while ((ancestor = ancestor.getParent ()) != null) {
\r
214 Clazz.defineMethod (c$, "getPath",
\r
216 return this.getPathToRoot (this, 0);
\r
218 Clazz.defineMethod (c$, "getPathToRoot",
\r
219 function (aNode, depth) {
\r
221 if (aNode == null) {
\r
222 if (depth == 0) return null;
\r
223 else retNodes = new Array (depth);
\r
226 retNodes = this.getPathToRoot (aNode.getParent (), depth);
\r
227 retNodes[retNodes.length - depth] = aNode;
\r
229 }, "javax.swing.tree.TreeNode,~N");
\r
230 Clazz.defineMethod (c$, "getUserObjectPath",
\r
232 var realPath = this.getPath ();
\r
233 var retPath = new Array (realPath.length);
\r
234 for (var counter = 0; counter < realPath.length; counter++) retPath[counter] = (realPath[counter]).getUserObject ();
\r
238 Clazz.defineMethod (c$, "getRoot",
\r
240 var ancestor = this;
\r
243 previous = ancestor;
\r
244 ancestor = ancestor.getParent ();
\r
245 } while (ancestor != null);
\r
248 Clazz.defineMethod (c$, "isRoot",
\r
250 return this.getParent () == null;
\r
252 Clazz.defineMethod (c$, "getNextNode",
\r
254 if (this.getChildCount () == 0) {
\r
255 var nextSibling = this.getNextSibling ();
\r
256 if (nextSibling == null) {
\r
257 var aNode = this.getParent ();
\r
259 if (aNode == null) {
\r
261 }nextSibling = aNode.getNextSibling ();
\r
262 if (nextSibling != null) {
\r
263 return nextSibling;
\r
264 }aNode = aNode.getParent ();
\r
267 return nextSibling;
\r
269 return this.getChildAt (0);
\r
271 Clazz.defineMethod (c$, "getPreviousNode",
\r
273 var previousSibling;
\r
274 var myParent = this.getParent ();
\r
275 if (myParent == null) {
\r
277 }previousSibling = this.getPreviousSibling ();
\r
278 if (previousSibling != null) {
\r
279 if (previousSibling.getChildCount () == 0) return previousSibling;
\r
280 else return previousSibling.getLastLeaf ();
\r
284 Clazz.defineMethod (c$, "preorderEnumeration",
\r
286 return Clazz.innerTypeInstance (javax.swing.tree.DefaultMutableTreeNode.PreorderEnumeration, this, null, this);
\r
288 Clazz.defineMethod (c$, "postorderEnumeration",
\r
290 return Clazz.innerTypeInstance (javax.swing.tree.DefaultMutableTreeNode.PostorderEnumeration, this, null, this);
\r
292 Clazz.defineMethod (c$, "breadthFirstEnumeration",
\r
294 return Clazz.innerTypeInstance (javax.swing.tree.DefaultMutableTreeNode.BreadthFirstEnumeration, this, null, this);
\r
296 Clazz.defineMethod (c$, "depthFirstEnumeration",
\r
298 return this.postorderEnumeration ();
\r
300 Clazz.defineMethod (c$, "pathFromAncestorEnumeration",
\r
301 function (ancestor) {
\r
302 return Clazz.innerTypeInstance (javax.swing.tree.DefaultMutableTreeNode.PathBetweenNodesEnumeration, this, null, ancestor, this);
\r
303 }, "javax.swing.tree.TreeNode");
\r
304 Clazz.defineMethod (c$, "isNodeChild",
\r
307 if (aNode == null) {
\r
310 if (this.getChildCount () == 0) {
\r
313 retval = (aNode.getParent () === this);
\r
315 }, "javax.swing.tree.TreeNode");
\r
316 Clazz.defineMethod (c$, "getFirstChild",
\r
318 if (this.getChildCount () == 0) {
\r
319 throw new java.util.NoSuchElementException ("node has no children");
\r
320 }return this.getChildAt (0);
\r
322 Clazz.defineMethod (c$, "getLastChild",
\r
324 if (this.getChildCount () == 0) {
\r
325 throw new java.util.NoSuchElementException ("node has no children");
\r
326 }return this.getChildAt (this.getChildCount () - 1);
\r
328 Clazz.defineMethod (c$, "getChildAfter",
\r
329 function (aChild) {
\r
330 if (aChild == null) {
\r
331 throw new IllegalArgumentException ("argument is null");
\r
332 }var index = this.getIndex (aChild);
\r
334 throw new IllegalArgumentException ("node is not a child");
\r
335 }if (index < this.getChildCount () - 1) {
\r
336 return this.getChildAt (index + 1);
\r
339 }}, "javax.swing.tree.TreeNode");
\r
340 Clazz.defineMethod (c$, "getChildBefore",
\r
341 function (aChild) {
\r
342 if (aChild == null) {
\r
343 throw new IllegalArgumentException ("argument is null");
\r
344 }var index = this.getIndex (aChild);
\r
346 throw new IllegalArgumentException ("argument is not a child");
\r
348 return this.getChildAt (index - 1);
\r
351 }}, "javax.swing.tree.TreeNode");
\r
352 Clazz.defineMethod (c$, "isNodeSibling",
\r
353 function (anotherNode) {
\r
355 if (anotherNode == null) {
\r
357 } else if (anotherNode === this) {
\r
360 var myParent = this.getParent ();
\r
361 retval = (myParent != null && myParent === anotherNode.getParent ());
\r
362 if (retval && !(this.getParent ()).isNodeChild (anotherNode)) {
\r
363 throw new Error ("sibling has different parent");
\r
365 }, "javax.swing.tree.TreeNode");
\r
366 Clazz.defineMethod (c$, "getSiblingCount",
\r
368 var myParent = this.getParent ();
\r
369 if (myParent == null) {
\r
372 return myParent.getChildCount ();
\r
374 Clazz.defineMethod (c$, "getNextSibling",
\r
377 var myParent = this.getParent ();
\r
378 if (myParent == null) {
\r
381 retval = myParent.getChildAfter (this);
\r
382 }if (retval != null && !this.isNodeSibling (retval)) {
\r
383 throw new Error ("child of parent is not a sibling");
\r
386 Clazz.defineMethod (c$, "getPreviousSibling",
\r
389 var myParent = this.getParent ();
\r
390 if (myParent == null) {
\r
393 retval = myParent.getChildBefore (this);
\r
394 }if (retval != null && !this.isNodeSibling (retval)) {
\r
395 throw new Error ("child of parent is not a sibling");
\r
398 Clazz.defineMethod (c$, "isLeaf",
\r
400 return (this.getChildCount () == 0);
\r
402 Clazz.defineMethod (c$, "getFirstLeaf",
\r
405 while (!node.isLeaf ()) {
\r
406 node = node.getFirstChild ();
\r
410 Clazz.defineMethod (c$, "getLastLeaf",
\r
413 while (!node.isLeaf ()) {
\r
414 node = node.getLastChild ();
\r
418 Clazz.defineMethod (c$, "getNextLeaf",
\r
421 var myParent = this.getParent ();
\r
422 if (myParent == null) return null;
\r
423 nextSibling = this.getNextSibling ();
\r
424 if (nextSibling != null) return nextSibling.getFirstLeaf ();
\r
425 return myParent.getNextLeaf ();
\r
427 Clazz.defineMethod (c$, "getPreviousLeaf",
\r
429 var previousSibling;
\r
430 var myParent = this.getParent ();
\r
431 if (myParent == null) return null;
\r
432 previousSibling = this.getPreviousSibling ();
\r
433 if (previousSibling != null) return previousSibling.getLastLeaf ();
\r
434 return myParent.getPreviousLeaf ();
\r
436 Clazz.defineMethod (c$, "getLeafCount",
\r
440 var enum_ = this.breadthFirstEnumeration ();
\r
441 while (enum_.hasMoreElements ()) {
\r
442 node = enum_.nextElement ();
\r
443 if (node.isLeaf ()) {
\r
447 throw new Error ("tree has zero leaves");
\r
450 Clazz.defineMethod (c$, "toString",
\r
452 if (this.userObject == null) {
\r
455 return this.userObject.toString ();
\r
457 Clazz.defineMethod (c$, "clone",
\r
459 var newNode = null;
\r
461 newNode = Clazz.superCall (this, javax.swing.tree.DefaultMutableTreeNode, "clone", []);
\r
462 newNode.$children = null;
\r
463 newNode.parent = null;
\r
465 if (Clazz.exceptionOf (e, CloneNotSupportedException)) {
\r
466 throw new Error (e.toString ());
\r
473 c$.$DefaultMutableTreeNode$PreorderEnumeration$ = function () {
\r
474 Clazz.pu$h(self.c$);
\r
475 c$ = Clazz.decorateAsClass (function () {
\r
476 Clazz.prepareCallback (this, arguments);
\r
478 Clazz.instantialize (this, arguments);
\r
479 }, javax.swing.tree.DefaultMutableTreeNode, "PreorderEnumeration", null, java.util.Enumeration);
\r
480 Clazz.makeConstructor (c$,
\r
482 var b = new java.util.Vector (1);
\r
484 this.stack = new java.util.Stack ();
\r
485 this.stack.push (b.elements ());
\r
486 }, "javax.swing.tree.TreeNode");
\r
487 Clazz.overrideMethod (c$, "hasMoreElements",
\r
489 return (!this.stack.empty () && (this.stack.peek ()).hasMoreElements ());
\r
491 Clazz.overrideMethod (c$, "nextElement",
\r
493 var a = this.stack.peek ();
\r
494 var b = a.nextElement ();
\r
495 var c = b.children ();
\r
496 if (!a.hasMoreElements ()) {
\r
498 }if (c.hasMoreElements ()) {
\r
499 this.stack.push (c);
\r
504 c$.$DefaultMutableTreeNode$PostorderEnumeration$ = function () {
\r
505 Clazz.pu$h(self.c$);
\r
506 c$ = Clazz.decorateAsClass (function () {
\r
507 Clazz.prepareCallback (this, arguments);
\r
509 this.children = null;
\r
510 this.subtree = null;
\r
511 Clazz.instantialize (this, arguments);
\r
512 }, javax.swing.tree.DefaultMutableTreeNode, "PostorderEnumeration", null, java.util.Enumeration);
\r
513 Clazz.makeConstructor (c$,
\r
516 this.children = this.root.children ();
\r
517 this.subtree = javax.swing.tree.DefaultMutableTreeNode.EMPTY_ENUMERATION;
\r
518 }, "javax.swing.tree.TreeNode");
\r
519 Clazz.defineMethod (c$, "hasMoreElements",
\r
521 return this.root != null;
\r
523 Clazz.defineMethod (c$, "nextElement",
\r
526 if (this.subtree.hasMoreElements ()) {
\r
527 a = this.subtree.nextElement ();
\r
528 } else if (this.children.hasMoreElements ()) {
\r
529 this.subtree = Clazz.innerTypeInstance (javax.swing.tree.DefaultMutableTreeNode.PostorderEnumeration, this, null, this.children.nextElement ());
\r
530 a = this.subtree.nextElement ();
\r
538 c$.$DefaultMutableTreeNode$BreadthFirstEnumeration$ = function () {
\r
539 Clazz.pu$h(self.c$);
\r
540 c$ = Clazz.decorateAsClass (function () {
\r
541 Clazz.prepareCallback (this, arguments);
\r
543 if (!Clazz.isClassDefined ("javax.swing.tree.DefaultMutableTreeNode.BreadthFirstEnumeration.Queue")) {
\r
544 javax.swing.tree.DefaultMutableTreeNode.BreadthFirstEnumeration.$DefaultMutableTreeNode$BreadthFirstEnumeration$Queue$ ();
\r
546 Clazz.instantialize (this, arguments);
\r
547 }, javax.swing.tree.DefaultMutableTreeNode, "BreadthFirstEnumeration", null, java.util.Enumeration);
\r
548 Clazz.makeConstructor (c$,
\r
550 var b = new java.util.Vector (1);
\r
552 this.queue = Clazz.innerTypeInstance (javax.swing.tree.DefaultMutableTreeNode.BreadthFirstEnumeration.Queue, this, null);
\r
553 this.queue.enqueue (b.elements ());
\r
554 }, "javax.swing.tree.TreeNode");
\r
555 Clazz.overrideMethod (c$, "hasMoreElements",
\r
557 return (!this.queue.isEmpty () && (this.queue.firstObject ()).hasMoreElements ());
\r
559 Clazz.overrideMethod (c$, "nextElement",
\r
561 var a = this.queue.firstObject ();
\r
562 var b = a.nextElement ();
\r
563 var c = b.children ();
\r
564 if (!a.hasMoreElements ()) {
\r
565 this.queue.dequeue ();
\r
566 }if (c.hasMoreElements ()) {
\r
567 this.queue.enqueue (c);
\r
570 c$.$DefaultMutableTreeNode$BreadthFirstEnumeration$Queue$ = function () {
\r
571 Clazz.pu$h(self.c$);
\r
572 c$ = Clazz.decorateAsClass (function () {
\r
573 Clazz.prepareCallback (this, arguments);
\r
576 if (!Clazz.isClassDefined ("javax.swing.tree.DefaultMutableTreeNode.BreadthFirstEnumeration.Queue.QNode")) {
\r
577 javax.swing.tree.DefaultMutableTreeNode.BreadthFirstEnumeration.Queue.$DefaultMutableTreeNode$BreadthFirstEnumeration$Queue$QNode$ ();
\r
579 Clazz.instantialize (this, arguments);
\r
580 }, javax.swing.tree.DefaultMutableTreeNode.BreadthFirstEnumeration, "Queue");
\r
581 Clazz.defineMethod (c$, "enqueue",
\r
583 if (this.head == null) {
\r
584 this.head = this.tail = Clazz.innerTypeInstance (javax.swing.tree.DefaultMutableTreeNode.BreadthFirstEnumeration.Queue.QNode, this, null, a, null);
\r
586 this.tail.next = Clazz.innerTypeInstance (javax.swing.tree.DefaultMutableTreeNode.BreadthFirstEnumeration.Queue.QNode, this, null, a, null);
\r
587 this.tail = this.tail.next;
\r
589 Clazz.defineMethod (c$, "dequeue",
\r
591 if (this.head == null) {
\r
592 throw new java.util.NoSuchElementException ("No more elements");
\r
593 }var a = this.head.object;
\r
595 this.head = this.head.next;
\r
596 if (this.head == null) {
\r
602 Clazz.defineMethod (c$, "firstObject",
\r
604 if (this.head == null) {
\r
605 throw new java.util.NoSuchElementException ("No more elements");
\r
606 }return this.head.object;
\r
608 Clazz.defineMethod (c$, "isEmpty",
\r
610 return this.head == null;
\r
612 c$.$DefaultMutableTreeNode$BreadthFirstEnumeration$Queue$QNode$ = function () {
\r
613 Clazz.pu$h(self.c$);
\r
614 c$ = Clazz.decorateAsClass (function () {
\r
615 Clazz.prepareCallback (this, arguments);
\r
616 this.object = null;
\r
618 Clazz.instantialize (this, arguments);
\r
619 }, javax.swing.tree.DefaultMutableTreeNode.BreadthFirstEnumeration.Queue, "QNode");
\r
620 Clazz.makeConstructor (c$,
\r
624 }, "~O,javax.swing.tree.DefaultMutableTreeNode.BreadthFirstEnumeration.Queue.QNode");
\r
631 c$.$DefaultMutableTreeNode$PathBetweenNodesEnumeration$ = function () {
\r
632 Clazz.pu$h(self.c$);
\r
633 c$ = Clazz.decorateAsClass (function () {
\r
634 Clazz.prepareCallback (this, arguments);
\r
636 Clazz.instantialize (this, arguments);
\r
637 }, javax.swing.tree.DefaultMutableTreeNode, "PathBetweenNodesEnumeration", null, java.util.Enumeration);
\r
638 Clazz.makeConstructor (c$,
\r
640 if (a == null || b == null) {
\r
641 throw new IllegalArgumentException ("argument is null");
\r
643 this.stack = new java.util.Stack ();
\r
644 this.stack.push (b);
\r
647 c = c.getParent ();
\r
648 if (c == null && b !== a) {
\r
649 throw new IllegalArgumentException ("node " + a + " is not an ancestor of " + b);
\r
650 }this.stack.push (c);
\r
652 }, "javax.swing.tree.TreeNode,javax.swing.tree.TreeNode");
\r
653 Clazz.overrideMethod (c$, "hasMoreElements",
\r
655 return this.stack.size () > 0;
\r
657 Clazz.overrideMethod (c$, "nextElement",
\r
660 return this.stack.pop ();
\r
662 if (Clazz.exceptionOf (e, java.util.EmptyStackException)) {
\r
663 throw new java.util.NoSuchElementException ("No more elements");
\r
671 c$.$DefaultMutableTreeNode$1$ = function () {
\r
672 Clazz.pu$h(self.c$);
\r
673 c$ = Clazz.declareAnonymous (javax.swing.tree, "DefaultMutableTreeNode$1", null, java.util.Enumeration);
\r
674 Clazz.defineMethod (c$, "hasMoreElements",
\r
678 Clazz.defineMethod (c$, "nextElement",
\r
680 throw new java.util.NoSuchElementException ("No more elements");
\r
684 c$.EMPTY_ENUMERATION = c$.prototype.EMPTY_ENUMERATION = ((Clazz.isClassDefined ("javax.swing.tree.DefaultMutableTreeNode$1") ? 0 : javax.swing.tree.DefaultMutableTreeNode.$DefaultMutableTreeNode$1$ ()), Clazz.innerTypeInstance (javax.swing.tree.DefaultMutableTreeNode$1, this, null));
\r