fba7d206f47e2bd4775aaee4b39fc7ae5c1d3f44.svn-base
1.2 KB
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
/**
* Copyright © 2015-2018 ODM All rights reserved.
*/
package com.thinkgem.jeesite.common.supcan.common;
import java.util.List;
import com.google.common.collect.Lists;
import com.thinkgem.jeesite.common.supcan.common.fonts.Font;
import com.thinkgem.jeesite.common.supcan.common.properties.Properties;
import com.thinkgem.jeesite.common.utils.IdGen;
import com.thoughtworks.xstream.annotations.XStreamAlias;
/**
* 硕正Common
* @author WangZhen
* @version 2013-11-04
*/
public class Common {
/**
* 属性对象
*/
@XStreamAlias("Properties")
protected Properties properties;
/**
* 字体对象
*/
@XStreamAlias("Fonts")
protected List<Font> fonts;
public Common() {
properties = new Properties(IdGen.uuid());
fonts = Lists.newArrayList(
new Font("宋体", "134", "-12"),
new Font("宋体", "134", "-13", "700"));
}
public Common(Properties properties) {
this();
this.properties = properties;
}
public Properties getProperties() {
return properties;
}
public void setProperties(Properties properties) {
this.properties = properties;
}
public List<Font> getFonts() {
return fonts;
}
public void setFonts(List<Font> fonts) {
this.fonts = fonts;
}
}