litesoft
Diff Revisions
947
vs
948
for /trunk/GWT_Sandbox/FormEngine/src/com/temp/client/foundation/widget/DomColor.java
|
@@ -1,6 +1,6 @@ |
1 |
1 |
|
package com.temp.client.foundation.widget; |
2 |
2 |
|
|
3 |
|
- |
import com.temp.shared.utils.StringUtils; |
|
3 |
+ |
import com.temp.shared.utils.*; |
4 |
4 |
|
|
5 |
5 |
|
/** |
6 |
6 |
|
* An enum to map Color names to their DOM friendly values. |
|
@@ -13,12 +13,12 @@ |
13 |
13 |
|
|
14 |
14 |
|
private final String domValue; |
15 |
15 |
|
|
16 |
|
- |
private DomColor(String domValue) { |
17 |
|
- |
this.domValue = StringUtils.deNull(domValue, name().toLowerCase()); |
|
16 |
+ |
private DomColor( String domValue ) { |
|
17 |
+ |
this.domValue = StringUtils.deNull( domValue, name().toLowerCase() ); |
18 |
18 |
|
} |
19 |
19 |
|
|
20 |
20 |
|
private DomColor() { |
21 |
|
- |
this(null); |
|
21 |
+ |
this( null ); |
22 |
22 |
|
} |
23 |
23 |
|
|
24 |
24 |
|
public String getDomValue() { |