软件包 | 描述 |
---|---|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
Modifier and Type | Method and Description |
---|---|
protected JFormattedTextField |
JFormattedTextField.AbstractFormatter.getFormattedTextField()
返回当前安装的
AbstractFormatter
JFormattedTextField 。
|
JFormattedTextField |
JSpinner.DefaultEditor.getTextField()
返回此编辑器的
JFormattedTextField 孩子。
|
Modifier and Type | Method and Description |
---|---|
abstract JFormattedTextField.AbstractFormatter |
JFormattedTextField.AbstractFormatterFactory.getFormatter(JFormattedTextField tf)
返回一个
AbstractFormatter 可以处理的格式通过
JFormattedTextField 。
|
void |
JFormattedTextField.AbstractFormatter.install(JFormattedTextField ftf)
安装在一个特定的
JFormattedTextField
AbstractFormatter 。
|
Modifier and Type | Method and Description |
---|---|
JFormattedTextField.AbstractFormatter |
DefaultFormatterFactory.getFormatter(JFormattedTextField source)
返回默认的格式化程序,显示格式化,格式化程序格式化程序编辑器或空的基础上的jformattedtextfield状态。
|
void |
DefaultFormatter.install(JFormattedTextField ftf)
安装在一个特定的
JFormattedTextField
DefaultFormatter 。
|
void |
MaskFormatter.install(JFormattedTextField ftf)
安装在一个特定的
JFormattedTextField
DefaultFormatter 。
|
void |
InternationalFormatter.install(JFormattedTextField ftf)
安装在一个特定的
JFormattedTextField
DefaultFormatter 。
|
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, 2014, Oracle and/or its affiliates. All rights reserved.