blob: aaa4aab455092506862eb48eed166f9b1e831a3c (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
/* */ package NET.worlds.console;
/* */
/* */ import java.awt.List;
/* */ import java.util.Vector;
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */
/* */ abstract class StatMan
/* */ {
/* */ protected Vector<Object> _children;
/* */ protected List _grabbedList;
/* */ protected Tree _tree;
/* */
/* */ void createList()
/* */ {
/* 22 */ updateList();
/* */ }
/* */
/* */ abstract void updateList();
/* */
/* */ void releaseList(boolean terminalCallback) {
/* 28 */ this._grabbedList = null;
/* */ }
/* */
/* */ void grabList(List list)
/* */ {
/* 33 */ assert (this._grabbedList == null);
/* */
/* 35 */ this._grabbedList = list;
/* 36 */ this._grabbedList.removeAll();
/* 37 */ createList();
/* */ }
/* */
/* */ void setTree(Tree tree) {
/* 41 */ this._tree = tree;
/* 42 */ if (this._children != null) {
/* 43 */ for (int i = this._children.size() - 1; i >= 0; i--) {
/* 44 */ StatMan child = (StatMan)this._children.elementAt(i);
/* 45 */ child.setTree(this._tree);
/* */ }
/* */ }
/* */ }
/* */
/* */ Vector<Object> getChildren() {
/* 51 */ return this._children;
/* */ }
/* */
/* */ void addChild(StatMan child) {
/* 55 */ assert (child != null);
/* 56 */ if (this._children == null)
/* 57 */ this._children = new Vector();
/* 58 */ assert (this._children.indexOf(child) == -1);
/* 59 */ this._children.addElement(child);
/* 60 */ if (this._tree != null) {
/* 61 */ child.setTree(this._tree);
/* 62 */ this._tree.update();
/* */ }
/* */ }
/* */ }
/* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\console\StatMan.class
* Java compiler version: 6 (50.0)
* JD-Core Version: 0.7.1
*/
|