1 |
|
|
2 |
|
|
3 |
|
|
4 |
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
|
|
9 |
|
|
10 |
|
|
11 |
|
|
12 |
|
|
13 |
|
|
14 |
|
|
15 |
|
|
16 |
|
package org.kuali.student.lum.common.client.lo; |
17 |
|
|
18 |
|
import org.kuali.student.common.assembly.data.Data; |
19 |
|
|
|
|
| 0% |
Uncovered Elements: 24 (24) |
Complexity: 12 |
Complexity Density: 1 |
|
20 |
|
public class OutlineNode<T> { |
21 |
|
int indentLevel = 0; |
22 |
|
|
23 |
|
T userObject; |
24 |
|
|
25 |
|
OutlineNodeModel<T> outlineModel; |
26 |
|
|
27 |
|
|
28 |
|
private Object opaque; |
29 |
|
|
30 |
|
private Data metaInfo; |
31 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
32 |
0
|
public void setModel(OutlineNodeModel<T> model) {... |
33 |
0
|
outlineModel = model; |
34 |
|
} |
35 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
36 |
0
|
public void setCurrentNode() {... |
37 |
0
|
outlineModel.setCurrentNode(this); |
38 |
|
} |
39 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
40 |
0
|
public T getUserObject() {... |
41 |
0
|
return userObject; |
42 |
|
} |
43 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
44 |
0
|
public void setUserObject(T u) {... |
45 |
0
|
userObject = u; |
46 |
|
} |
47 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
48 |
0
|
public void indent() {... |
49 |
0
|
indentLevel++; |
50 |
|
} |
51 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
52 |
0
|
public void outdent() {... |
53 |
0
|
indentLevel--; |
54 |
|
} |
55 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
56 |
0
|
public void setIndentLevel(int level) {... |
57 |
0
|
indentLevel = level; |
58 |
|
} |
59 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
60 |
0
|
public int getIndentLevel() {... |
61 |
0
|
return indentLevel; |
62 |
|
} |
63 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
64 |
0
|
public void setOpaque(Object opaque) {... |
65 |
0
|
this.opaque = opaque; |
66 |
|
} |
67 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
68 |
0
|
public Object getOpaque() {... |
69 |
0
|
return opaque; |
70 |
|
} |
71 |
|
|
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
72 |
0
|
public void setMetaInfo(Data metaInfo) {... |
73 |
0
|
this.metaInfo=metaInfo; |
74 |
|
} |
|
|
| 0% |
Uncovered Elements: 1 (1) |
Complexity: 1 |
Complexity Density: 1 |
|
75 |
0
|
public Data getMetaInfo() {... |
76 |
0
|
return metaInfo; |
77 |
|
} |
78 |
|
} |