litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/OldServer/src/org/litesoft/GWT/forms/server/support/mdconstruction/FormAMDFactory_Float.java
|
@@ -7,17 +7,14 @@ |
7 |
7 |
|
import org.litesoft.core.simpletypes.*; |
8 |
8 |
|
import org.litesoft.ui.def.nonpublic.support.*; |
9 |
9 |
|
|
10 |
|
- |
public class FormAMDFactory_Float extends AbstractNumericFormAMDFactory |
11 |
|
- |
{ |
|
10 |
+ |
public class FormAMDFactory_Float extends AbstractNumericFormAMDFactory { |
12 |
11 |
|
public static final FormAttributeMetaDataFactory INSTANCE = new FormAMDFactory_Float(); |
13 |
12 |
|
|
14 |
|
- |
public FormAMDFactory_Float() |
15 |
|
- |
{ |
|
13 |
+ |
public FormAMDFactory_Float() { |
16 |
14 |
|
super( CreateAMDParamsPlus.DEFAULT_FLOAT_DISPLAY_CHARS_WIDTH ); |
17 |
15 |
|
} |
18 |
16 |
|
|
19 |
|
- |
public AMDconverterPair createAttributeMetaData( CreateAMDParamsPlus pParams ) |
20 |
|
- |
{ |
|
17 |
+ |
public AMDconverterPair createAttributeMetaData( CreateAMDParamsPlus pParams ) { |
21 |
18 |
|
Integer decimalPlaces = getDecimalPlaces( pParams, 0 ); |
22 |
19 |
|
NumericFormatControl formatControl = getNumericFormatControl( pParams ); |
23 |
20 |
|
return new AMDconverterPair( SendableFloatConverter.INSTANCE, |