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
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.Constructor and Description |
---|
JFormattedTextField.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 JFormattedTextField.AbstractFormatterFactory()
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, 2015, Oracle and/or its affiliates. All rights reserved.