42f7664754e1790359eed6b1be3d5b5a100413e3.svn-base
976 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
/**
* Copyright © 2015-2018 ODM All rights reserved.
*/
package com.thinkgem.jeesite.common.supcan.common.properties;
import com.thinkgem.jeesite.common.supcan.annotation.common.properties.SupBackground;
import com.thinkgem.jeesite.common.utils.ObjectUtils;
import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamAsAttribute;
/**
* 硕正TreeList Properties Background
* @author WangZhen
* @version 2013-11-04
*/
@XStreamAlias("Background")
public class Background {
/**
* 背景颜色
*/
@XStreamAsAttribute
private String bgColor = "#FDFDFD";
public Background() {
}
public Background(SupBackground supBackground) {
this();
ObjectUtils.annotationToObject(supBackground, this);
}
public Background(String bgColor) {
this();
this.bgColor = bgColor;
}
public String getBgColor() {
return bgColor;
}
public void setBgColor(String bgColor) {
this.bgColor = bgColor;
}
}