|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.ulc.ui.dataTypes.UINumberFormatConverter | +--com.ibm.ulc.ui.dataTypes.UIDoubleNumberFormatConverter
Field Summary | |
protected static double |
DECIMAL_DIGITS_PER_BINARY_DIGIT
The number of decimal digits per binary digits |
protected static double |
SIGNIFICANT_DECIMAL_DIGITS
The number of significant decimal digits (computed from the 52 IEEE754 binary decimal digits) |
Fields inherited from class com.ibm.ulc.ui.dataTypes.UINumberFormatConverter |
fFormat |
Constructor Summary | |
UIDoubleNumberFormatConverter()
UIDoubleNumberFormatConverter constructor comment. |
Method Summary | |
java.lang.String |
convertToEditString(java.lang.Object object)
Answer a String representation of the parameter suitable for editing (e.g. |
java.lang.Object |
convertToObject(java.lang.String string)
convertToObject using NumberFormat If the numberformat does not answer a Long or Double, as promised in the comment of NumberFormat :: Number parse(String, ParsePosition), throw an exception. |
Methods inherited from class com.ibm.ulc.ui.dataTypes.UINumberFormatConverter |
convertToString,
getInstance,
setGroupingUsed,
setMaximumFractionDigits,
setMinimumFractionDigits |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Field Detail |
protected static double DECIMAL_DIGITS_PER_BINARY_DIGIT
protected static double SIGNIFICANT_DECIMAL_DIGITS
Constructor Detail |
public UIDoubleNumberFormatConverter()
Method Detail |
public java.lang.String convertToEditString(java.lang.Object object)
object
- java.lang.Objectpublic java.lang.Object convertToObject(java.lang.String string) throws DataTypeConversionException
string
- java.lang.String
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |