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.core.assembly.data.Data;
19
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
32 public void setModel(OutlineNodeModel<T> model) {
33 outlineModel = model;
34 }
35
36 public void setCurrentNode() {
37 outlineModel.setCurrentNode(this);
38 }
39
40 public T getUserObject() {
41 return userObject;
42 }
43
44 public void setUserObject(T u) {
45 userObject = u;
46 }
47
48 public void indent() {
49 indentLevel++;
50 }
51
52 public void outdent() {
53 indentLevel--;
54 }
55
56 public void setIndentLevel(int level) {
57 indentLevel = level;
58 }
59
60 public int getIndentLevel() {
61 return indentLevel;
62 }
63
64 public void setOpaque(Object opaque) {
65 this.opaque = opaque;
66 }
67
68 public Object getOpaque() {
69 return opaque;
70 }
71
72 public void setMetaInfo(Data metaInfo) {
73 this.metaInfo=metaInfo;
74 }
75 public Data getMetaInfo() {
76 return metaInfo;
77 }
78 }