All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.wicp.tams.component.constant.EasyUIStyle Maven / Gradle / Ivy

There is a newer version: 2.0.0
Show newest version
package net.wicp.tams.component.constant;

/****
 * easyui支持的样式
 * 
 * @author Administrator
 * 
 */
public enum EasyUIStyle {
	defaultSty("default", "默认样式"), black("black", "黑色"), bootstrap("bootstrap",
			"二色"), gray("gray", "灰色"), metro("metro", "metro风格");
	private final String desc;
	private final String value;

	public String getValue() {
		return this.value;
	}

	private EasyUIStyle(String value, String desc) {
		this.desc = desc;
		this.value = value;
	}

	public static final EasyUIStyle valueOfDefault(String name,
			EasyUIStyle defaultvalue) {
		EasyUIStyle retobj = valueOf(name);
		defaultvalue = defaultvalue == null ? defaultSty : defaultvalue;
		return retobj == null ? defaultvalue : retobj;// 没有找到都是折线图
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy