public class DecimalFormatter extends JFormattedTextField.AbstractFormatter
JFormattedTextField
JFormattedTextField.AbstractFormatter
,
Serialized FormConstructor 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, uninstall
public DecimalFormatter(String pattern)
public Object stringToValue(String text) throws ParseException
stringToValue
in class JFormattedTextField.AbstractFormatter
ParseException
public String valueToString(Object value) throws ParseException
valueToString
in class JFormattedTextField.AbstractFormatter
ParseException
Copyright © 2014–2017 European Space Agency (ESA). All rights reserved.