org.tbee.swing.format
Class DecimalFormatterInternational
java.lang.Object
javax.swing.JFormattedTextField.AbstractFormatter
javax.swing.text.DefaultFormatter
javax.swing.text.InternationalFormatter
javax.swing.text.NumberFormatter
org.tbee.swing.format.DecimalFormatterInternational
- All Implemented Interfaces:
- Serializable, Cloneable
- Direct Known Subclasses:
- JFormattedTextFieldUtils.PercentFormatter
public class DecimalFormatterInternational
- extends NumberFormatter
This class allows for standard localized typing without rounding any time soon, but also supports typing decimals with one . as the decimal separator
- Author:
- tom
- See Also:
- Serialized Form
DecimalFormatterInternational
public DecimalFormatterInternational()
DecimalFormatterInternational
public DecimalFormatterInternational(NumberFormat f)
stringToValue
public Object stringToValue(String text)
throws ParseException
- Overrides:
stringToValue in class InternationalFormatter
- Throws:
ParseException
Copyright © 2012 KnowledgePlaza. All Rights Reserved.