Subversion Repository Public Repository

litesoft

Diff Revisions 949 vs 950 for /trunk/Java/GWT/OldServer/src/org/litesoft/GWT/forms/server/support/converters/SendableSimpleFixedPointLongConverter.java

Diff revisions: vs.
  @@ -1,21 +1,21 @@
1 - // This Source Code is in the Public Domain per: http://unlicense.org
2 - package org.litesoft.GWT.forms.server.support.converters;
3 -
4 - import org.litesoft.GWT.forms.server.support.nonpublic.*;
5 - import org.litesoft.core.simpletypes.*;
6 -
7 - import java.io.*;
8 -
9 - public class SendableSimpleFixedPointLongConverter extends AbstractSendableSameConverter {
10 - private int mDecimalPlaces;
11 - private NumericFormatControl mFormatControl;
12 -
13 - public SendableSimpleFixedPointLongConverter( int pDecimalPlaces, NumericFormatControl pFormatControl ) {
14 - mDecimalPlaces = pDecimalPlaces;
15 - mFormatControl = pFormatControl;
16 - }
17 -
18 - protected Serializable convertCommon( Object pValue ) {
19 - return to_FixedPointLong( mDecimalPlaces, mFormatControl, pValue );
20 - }
21 - }
1 + // This Source Code is in the Public Domain per: http://unlicense.org
2 + package org.litesoft.GWT.forms.server.support.converters;
3 +
4 + import org.litesoft.GWT.forms.server.support.nonpublic.*;
5 + import org.litesoft.core.simpletypes.*;
6 +
7 + import java.io.*;
8 +
9 + public class SendableSimpleFixedPointLongConverter extends AbstractSendableSameConverter {
10 + private int mDecimalPlaces;
11 + private NumericFormatControl mFormatControl;
12 +
13 + public SendableSimpleFixedPointLongConverter( int pDecimalPlaces, NumericFormatControl pFormatControl ) {
14 + mDecimalPlaces = pDecimalPlaces;
15 + mFormatControl = pFormatControl;
16 + }
17 +
18 + protected Serializable convertCommon( Object pValue ) {
19 + return to_FixedPointLong( mDecimalPlaces, mFormatControl, pValue );
20 + }
21 + }