java.lang.Object
javafx.util.StringConverter<Number>
javafx.util.converter.NumberStringConverter
javafx.util.converter.CurrencyStringConverter
public class CurrencyStringConverter extends NumberStringConverter
StringConverter
implementation for Number
values
that represent currency.
- Since:
- JavaFX 2.1
- See Also:
PercentageStringConverter
,NumberStringConverter
,StringConverter
-
Constructor Summary
Constructors Constructor Description CurrencyStringConverter()
CurrencyStringConverter(String pattern)
CurrencyStringConverter(NumberFormat numberFormat)
CurrencyStringConverter(Locale locale)
CurrencyStringConverter(Locale locale, String pattern)
-
Method Summary
Modifier and Type Method Description protected NumberFormat
getNumberFormat()
Return aNumberFormat
instance to use for formatting and parsing in thisStringConverter
.
-
Constructor Details
-
CurrencyStringConverter
public CurrencyStringConverter() -
CurrencyStringConverter
-
CurrencyStringConverter
-
CurrencyStringConverter
-
CurrencyStringConverter
-
-
Method Details
-
getNumberFormat
Return a
NumberFormat
instance to use for formatting and parsing in thisStringConverter
.- Overrides:
getNumberFormat
in classNumberStringConverter
- Returns:
- a
NumberFormat
instance for formatting and parsing in thisStringConverter
-