| Package | Description | 
|---|---|
| javax.swing | 
 Provides a set of "lightweight"
(all-Java language) components that,
to the maximum degree possible, work the same on all platforms. 
 | 
| javax.swing.text | 
 Provides classes and interfaces that deal with editable
and noneditable text components. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected JFormattedTextField | 
JFormattedTextField.AbstractFormatter.getFormattedTextField()
Returns the current  
JFormattedTextField the
 AbstractFormatter is installed on. | 
JFormattedTextField | 
JSpinner.DefaultEditor.getTextField()
Returns the  
JFormattedTextField child of this
 editor. | 
| Modifier and Type | Method and Description | 
|---|---|
abstract JFormattedTextField.AbstractFormatter | 
JFormattedTextField.AbstractFormatterFactory.getFormatter(JFormattedTextField tf)
Returns an  
AbstractFormatter that can handle formatting
 of the passed in JFormattedTextField. | 
void | 
JFormattedTextField.AbstractFormatter.install(JFormattedTextField ftf)
Installs the  
AbstractFormatter onto a particular
 JFormattedTextField. | 
| Modifier and Type | Method and Description | 
|---|---|
JFormattedTextField.AbstractFormatter | 
DefaultFormatterFactory.getFormatter(JFormattedTextField source)
Returns either the default formatter, display formatter, editor
 formatter or null formatter based on the state of the
 JFormattedTextField. 
 | 
void | 
DefaultFormatter.install(JFormattedTextField ftf)
Installs the  
DefaultFormatter onto a particular
 JFormattedTextField. | 
void | 
InternationalFormatter.install(JFormattedTextField ftf)
Installs the  
DefaultFormatter onto a particular
 JFormattedTextField. | 
void | 
MaskFormatter.install(JFormattedTextField ftf)
Installs the  
DefaultFormatter onto a particular
 JFormattedTextField. | 
 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, 2013, Oracle and/or its affiliates.  All rights reserved.