public abstract static class JFormattedTextField.AbstractFormatterFactory extends Object
Instances of AbstractFormatterFactory
are used by JFormattedTextField
to obtain instances of AbstractFormatter
which in turn are used to format values. AbstractFormatterFactory
can return different AbstractFormatter
s based on the state of the JFormattedTextField
, perhaps returning different AbstractFormatter
s when the JFormattedTextField
has focus vs when it doesn't have focus.
public AbstractFormatterFactory()
public abstract JFormattedTextField.AbstractFormatter getFormatter(JFormattedTextField tf)
Returns an AbstractFormatter
that can handle formatting of the passed in JFormattedTextField
.
tf
- JFormattedTextField requesting AbstractFormatter
© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.