1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.kns.uif.widget; |
17 | |
|
18 | |
|
19 | |
|
20 | |
|
21 | |
|
22 | |
|
23 | |
public class Accordion extends WidgetBase { |
24 | |
private static final long serialVersionUID = 1238789480161901850L; |
25 | |
|
26 | |
private String collapseImageSrc; |
27 | |
private String expandImageSrc; |
28 | |
|
29 | |
private int animationSpeed; |
30 | |
private boolean defaultOpen; |
31 | |
|
32 | |
public Accordion() { |
33 | 0 | super(); |
34 | |
|
35 | 0 | defaultOpen = true; |
36 | 0 | } |
37 | |
|
38 | |
public String getCollapseImageSrc() { |
39 | 0 | return this.collapseImageSrc; |
40 | |
} |
41 | |
|
42 | |
public void setCollapseImageSrc(String collapseImageSrc) { |
43 | 0 | this.collapseImageSrc = collapseImageSrc; |
44 | 0 | } |
45 | |
|
46 | |
public String getExpandImageSrc() { |
47 | 0 | return this.expandImageSrc; |
48 | |
} |
49 | |
|
50 | |
public void setExpandImageSrc(String expandImageSrc) { |
51 | 0 | this.expandImageSrc = expandImageSrc; |
52 | 0 | } |
53 | |
|
54 | |
public int getAnimationSpeed() { |
55 | 0 | return this.animationSpeed; |
56 | |
} |
57 | |
|
58 | |
public void setAnimationSpeed(int animationSpeed) { |
59 | 0 | this.animationSpeed = animationSpeed; |
60 | 0 | } |
61 | |
|
62 | |
public boolean isDefaultOpen() { |
63 | 0 | return this.defaultOpen; |
64 | |
} |
65 | |
|
66 | |
public void setDefaultOpen(boolean defaultOpen) { |
67 | 0 | this.defaultOpen = defaultOpen; |
68 | 0 | } |
69 | |
|
70 | |
} |