Uses of Class
javax.swing.JFormattedTextField
-
Packages that use JFormattedTextField 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. -
-
Uses of JFormattedTextField in javax.swing
Methods in javax.swing that return JFormattedTextField Modifier and Type Method and Description protected JFormattedTextField
JFormattedTextField.AbstractFormatter. getFormattedTextField()
Returns the currentJFormattedTextField
theAbstractFormatter
is installed on.JFormattedTextField
JSpinner.DefaultEditor. getTextField()
Returns theJFormattedTextField
child of this editor.Methods in javax.swing with parameters of type JFormattedTextField Modifier and Type Method and Description abstract JFormattedTextField.AbstractFormatter
JFormattedTextField.AbstractFormatterFactory. getFormatter(JFormattedTextField tf)
Returns anAbstractFormatter
that can handle formatting of the passed inJFormattedTextField
.void
JFormattedTextField.AbstractFormatter. install(JFormattedTextField ftf)
Installs theAbstractFormatter
onto a particularJFormattedTextField
. -
Uses of JFormattedTextField in javax.swing.text
Methods in javax.swing.text with parameters of type 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
MaskFormatter. install(JFormattedTextField ftf)
Installs theDefaultFormatter
onto a particularJFormattedTextField
.void
DefaultFormatter. install(JFormattedTextField ftf)
Installs theDefaultFormatter
onto a particularJFormattedTextField
.void
InternationalFormatter. install(JFormattedTextField ftf)
Installs theDefaultFormatter
onto a particularJFormattedTextField
.
-
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, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.