public class DecimalFormatter extends JFormattedTextField.AbstractFormatter
JFormattedTextFieldJFormattedTextField.AbstractFormatter,
Serialized Form| Constructor and Description |
|---|
DecimalFormatter(String pattern) |
| Modifier and Type | Method and Description |
|---|---|
Object |
stringToValue(String text) |
String |
valueToString(Object value) |
clone, getActions, getDocumentFilter, getFormattedTextField, getNavigationFilter, install, invalidEdit, setEditValid, uninstallpublic DecimalFormatter(String pattern)
public Object stringToValue(String text) throws ParseException
stringToValue in class JFormattedTextField.AbstractFormatterParseExceptionpublic String valueToString(Object value) throws ParseException
valueToString in class JFormattedTextField.AbstractFormatterParseExceptionCopyright © 2014–2016 European Space Agency (ESA). All rights reserved.