1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.krad.uif.widget;
17
18 import org.kuali.rice.krad.datadictionary.parse.BeanTag;
19 import org.kuali.rice.krad.datadictionary.parse.BeanTagAttribute;
20 import org.kuali.rice.krad.uif.component.ClientSideState;
21
22
23
24
25
26
27 @BeanTag(name = "disclosure", parent = "Uif-Disclosure")
28 public class Disclosure extends WidgetBase {
29 private static final long serialVersionUID = 1238789480161901850L;
30
31 private String collapseImageSrc;
32 private String expandImageSrc;
33
34 private int animationSpeed;
35
36 @ClientSideState
37 private boolean defaultOpen;
38
39 private boolean renderImage;
40
41 public Disclosure() {
42 super();
43
44 defaultOpen = true;
45 renderImage = true;
46 }
47
48
49
50
51
52
53 @BeanTagAttribute(name="CollapseImageSrc")
54 public String getCollapseImageSrc() {
55 return this.collapseImageSrc;
56 }
57
58
59
60
61
62
63 public void setCollapseImageSrc(String collapseImageSrc) {
64 this.collapseImageSrc = collapseImageSrc;
65 }
66
67
68
69
70
71
72 @BeanTagAttribute(name="expandImageSrc")
73 public String getExpandImageSrc() {
74 return this.expandImageSrc;
75 }
76
77
78
79
80
81
82 public void setExpandImageSrc(String expandImageSrc) {
83 this.expandImageSrc = expandImageSrc;
84 }
85
86
87
88
89
90
91
92 @BeanTagAttribute(name="animationSpeed")
93 public int getAnimationSpeed() {
94 return this.animationSpeed;
95 }
96
97
98
99
100
101
102 public void setAnimationSpeed(int animationSpeed) {
103 this.animationSpeed = animationSpeed;
104 }
105
106
107
108
109
110
111
112 @BeanTagAttribute(name="defaultOpen")
113 public boolean isDefaultOpen() {
114 return this.defaultOpen;
115 }
116
117
118
119
120
121
122 public void setDefaultOpen(boolean defaultOpen) {
123 this.defaultOpen = defaultOpen;
124 }
125
126
127
128
129
130
131
132 @BeanTagAttribute(name="renderImage")
133 public boolean isRenderImage() {
134 return renderImage;
135 }
136
137
138
139
140
141
142 public void setRenderImage(boolean renderImage) {
143 this.renderImage = renderImage;
144 }
145 }