1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krad.uif.element;
17
18 import org.kuali.rice.krad.uif.component.Component;
19 import org.kuali.rice.krad.uif.widget.LightBox;
20
21 import java.util.List;
22
23
24
25
26
27
28 public class Link extends ContentElementBase {
29 private static final long serialVersionUID = 8989868231938336068L;
30
31 private String linkText;
32 private String target;
33 private String href;
34
35 private LightBox lightBox;
36
37 public Link() {
38 super();
39 }
40
41
42
43
44 @Override
45 public List<Component> getComponentsForLifecycle() {
46 List<Component> components = super.getComponentsForLifecycle();
47
48 components.add(lightBox);
49
50 return components;
51 }
52
53
54
55
56
57
58 public String getLinkText() {
59 return linkText;
60 }
61
62
63
64
65
66
67 public void setLinkText(String linkText) {
68 this.linkText = linkText;
69 }
70
71
72
73
74
75
76 public String getTarget() {
77 return target;
78 }
79
80
81
82
83
84
85 public void setTarget(String target) {
86 this.target = target;
87 }
88
89
90
91
92
93
94 public String getHref() {
95 return href;
96 }
97
98
99
100
101
102
103 public void setHref(String href) {
104 this.href = href;
105 }
106
107
108
109
110
111
112 public LightBox getLightBox() {
113 return lightBox;
114 }
115
116
117
118
119
120
121 public void setLightBox(LightBox lightBox) {
122 this.lightBox = lightBox;
123 }
124
125 }