litesoft
Diff Revisions
49
vs
60
for /trunk/Java/GWT/OldClient/src/org/litesoft/GWT/forms/client/components/factories/input/UiFloatWidgetFactory.java
|
@@ -1,14 +1,15 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://litesoft.org/License.txt |
2 |
2 |
|
package org.litesoft.GWT.forms.client.components.factories.input; |
3 |
3 |
|
|
4 |
|
- |
import com.google.gwt.user.client.ui.*; |
|
4 |
+ |
import java.io.*; |
|
5 |
+ |
|
5 |
6 |
|
import org.litesoft.GWT.forms.client.components.factories.*; |
6 |
7 |
|
import org.litesoft.GWT.forms.client.nonpublic.*; |
7 |
|
- |
import org.litesoft.core.simpletypes.boxers.*; |
8 |
|
- |
import org.litesoft.rpcpassable.*; |
9 |
8 |
|
import org.litesoft.ui.def.nonpublic.*; |
10 |
9 |
|
import org.litesoft.ui.def.nonpublic.support.*; |
11 |
10 |
|
|
|
11 |
+ |
import com.google.gwt.user.client.ui.*; |
|
12 |
+ |
|
12 |
13 |
|
public class UiFloatWidgetFactory implements InputWidgetFactory |
13 |
14 |
|
{ |
14 |
15 |
|
public Widget create( FormInstanceComponentHandler pComponentHandler, // |
|
@@ -26,9 +27,9 @@ |
26 |
27 |
|
super( pComponentHandler, pUiDef, pMD ); |
27 |
28 |
|
} |
28 |
29 |
|
|
29 |
|
- |
protected RPCpassable LLconvertNonNullComponentValueToSendable( String pCleanedValue ) |
|
30 |
+ |
protected Serializable LLconvertNonNullComponentValueToSendable( String pCleanedValue ) |
30 |
31 |
|
{ |
31 |
|
- |
return new BoxedFloat( Float.valueOf( pCleanedValue ) ); |
|
32 |
+ |
return Float.valueOf( pCleanedValue ); |
32 |
33 |
|
} |
33 |
34 |
|
} |
34 |
35 |
|
} |