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 |
getFormatter(JFormattedTextField
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