public class DefaultIntegerDisplayConverter extends NumericDisplayConverter
nf| Constructor and Description |
|---|
DefaultIntegerDisplayConverter()
Creates a converter that uses
NumberFormat. |
DefaultIntegerDisplayConverter(boolean useNumberFormat)
Creates a converter and allows to specify whether
NumberFormat
should be used or not. |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
convertToNumericValue(String value) |
canonicalToDisplayValue, displayToCanonicalValue, getNumberFormat, setNumberFormatcanonicalToDisplayValue, displayToCanonicalValuepublic DefaultIntegerDisplayConverter()
NumberFormat.public DefaultIntegerDisplayConverter(boolean useNumberFormat)
NumberFormat
should be used or not.useNumberFormat - true if a NumberFormat should be used,
false if not.protected Object convertToNumericValue(String value)
convertToNumericValue in class NumericDisplayConverterCopyright © 2016. All rights reserved.