Example usage for Java javax.swing.text DefaultFormatter fields, constructors, methods, implement or subclass
The text is from its open source code.
DefaultFormatter() Creates a DefaultFormatter. |
void | setAllowsInvalid(boolean allowsInvalid) Sets whether or not the value being edited is allowed to be invalid for a length of time (that is, stringToValue throws a ParseException ). |
void | setCommitsOnValidEdit(boolean commit) Sets when edits are published back to the JFormattedTextField . |
void | setOverwriteMode(boolean overwriteMode) Configures the behavior when inserting characters. |
void | setValueClass(Class> valueClass) Sets that class that is used to create new Objects. |