litesoft
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
|
package com.temp.client.foundation.widget;
import com.temp.shared.utils.StringUtils;
/**
* An enum to map Color names to their DOM friendly values.
*
* @author georgs
*/
public enum DomColor {
Red, //
Green;
private final String domValue;
private DomColor(String domValue) {
this.domValue = StringUtils.deNull(domValue, name().toLowerCase());
}
private DomColor() {
this(null);
}
public String getDomValue() {
return domValue;
}
}
|
Revision |
Author |
Commited |
Message |
626
|
GeorgeS
|
Wed 11 Apr, 2012 19:39:41 +0000 |
|