com.jidesoft.spinner
Class PointFormatter
java.lang.Object
javax.swing.JFormattedTextField.AbstractFormatter
javax.swing.text.DefaultFormatter
com.jidesoft.spinner.PointFormatter
- All Implemented Interfaces:
- Serializable, Cloneable
public class PointFormatter
- extends DefaultFormatter
- Author:
- Nako Ruru
- See Also:
- Serialized Form
Methods inherited from class javax.swing.text.DefaultFormatter |
clone, getAllowsInvalid, getCommitsOnValidEdit, getDocumentFilter, getNavigationFilter, getOverwriteMode, getValueClass, install, setAllowsInvalid, setCommitsOnValidEdit, setOverwriteMode, setValueClass |
getInstance
public static JFormattedTextField.AbstractFormatter getInstance()
stringToValue
public Object stringToValue(String text)
throws ParseException
- Overrides:
stringToValue
in class DefaultFormatter
- Throws:
ParseException
valueToString
public String valueToString(Object value)
throws ParseException
- Overrides:
valueToString
in class DefaultFormatter
- Throws:
ParseException
main
public static void main(String[] args)