public class RegExFormatter
extends javax.swing.text.DefaultFormatter
Constructor and Description |
---|
RegExFormatter() |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
stringToValue(java.lang.String string) |
java.lang.String |
valueToString(java.lang.Object value) |
clone, getAllowsInvalid, getCommitsOnValidEdit, getDocumentFilter, getNavigationFilter, getOverwriteMode, getValueClass, install, setAllowsInvalid, setCommitsOnValidEdit, setOverwriteMode, setValueClass
public java.lang.Object stringToValue(java.lang.String string) throws java.text.ParseException
stringToValue
in class javax.swing.text.DefaultFormatter
java.text.ParseException
public java.lang.String valueToString(java.lang.Object value) throws java.text.ParseException
valueToString
in class javax.swing.text.DefaultFormatter
java.text.ParseException