public class NumberConverter<T extends Number> extends Object implements IConverter<T>
| Constructor and Description |
|---|
NumberConverter(Class<T> actualType,
NumericPresentation presentation,
int scale) |
| Modifier and Type | Method and Description |
|---|---|
String |
convertObjectToString(Locale loc,
T in) |
T |
convertStringToObject(Locale loc,
String in) |
Class<T> |
getActualType() |
NumericPresentation |
getPresentation() |
int |
getScale() |
public NumberConverter(Class<T> actualType, NumericPresentation presentation, int scale)
public String convertObjectToString(Locale loc, T in) throws UIException
convertObjectToString in interface IObjectToStringConverter<T extends Number>UIExceptionpublic T convertStringToObject(Locale loc, String in) throws UIException
convertStringToObject in interface IStringToObjectConverter<T extends Number>UIExceptionpublic NumericPresentation getPresentation()
public int getScale()
Copyright © 2017 etc.to. All rights reserved.