public abstract static class JFormattedTextField.AbstractFormatterFactory extends Object
AbstractFormatterFactory are used by
JFormattedTextField to obtain instances of
AbstractFormatter which in turn are used to format values.
AbstractFormatterFactory can return different
AbstractFormatters based on the state of the
JFormattedTextField, perhaps returning different
AbstractFormatters when the
JFormattedTextField has focus vs when it
doesn't have focus.| Constructor and Description |
|---|
AbstractFormatterFactory() |
| Modifier and Type | Method and Description |
|---|---|
abstract JFormattedTextField.AbstractFormatter |
getFormatter(JFormattedTextField tf)
Returns an
AbstractFormatter that can handle formatting
of the passed in JFormattedTextField. |
public abstract JFormattedTextField.AbstractFormatter getFormatter(JFormattedTextField tf)
AbstractFormatter that can handle formatting
of the passed in JFormattedTextField.tf - JFormattedTextField requesting AbstractFormatter Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.