| 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 |
JFormattedTextField.AbstractFormatterFactory.getFormatter(JFormattedTextField
Returns an
AbstractFormatter that can handle formatting of the passed in
JFormattedTextField.
|
void |
JFormattedTextField.AbstractFormatter.install(JFormattedTextField
Installs the
AbstractFormatter onto a particular
JFormattedTextField.
|
| Modifier and Type | Method and Description |
|---|---|
JFormattedTextField |
DefaultFormatterFactory.getFormatter(JFormattedTextField
Returns either the default formatter, display formatter, editor formatter or null formatter based on the state of the JFormattedTextField.
|
void |
InternationalFormatter.install(JFormattedTextField
Installs the
DefaultFormatter onto a particular
JFormattedTextField.
|
void |
MaskFormatter.install(JFormattedTextField
Installs the
DefaultFormatter onto a particular
JFormattedTextField.
|
void |
DefaultFormatter.install(JFormattedTextField
Installs the
DefaultFormatter onto a particular
JFormattedTextField.
|