Java javax.swing.text DefaultFormatter fields, constructors, methods, implement or subclass

Example usage for Java javax.swing.text DefaultFormatter fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.swing.text DefaultFormatter.

The text is from its open source code.

Subclass

javax.swing.text.DefaultFormatter has subclasses.
Click this link to see all its subclasses.

Constructor

DefaultFormatter()
Creates a DefaultFormatter.

Method

voidsetAllowsInvalid(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).
voidsetCommitsOnValidEdit(boolean commit)
Sets when edits are published back to the JFormattedTextField.
voidsetOverwriteMode(boolean overwriteMode)
Configures the behavior when inserting characters.
voidsetValueClass(Class valueClass)
Sets that class that is used to create new Objects.