软件包 | 描述 |
---|---|
java.text |
提供用于处理独立于自然语言的方式处理文本、日期、数字和消息的类和接口。
|
javax.swing |
提供了一套“轻量级”(所有的java语言)组件,以最大可能的程度,在所有平台上工作。
|
javax.swing.plaf.synth |
它是一个可更换皮肤的外观和感觉的绘画是授。
|
javax.swing.text |
提供类和接口处理编辑和不可编辑的文本组件。
|
Modifier and Type | Method and Description |
---|---|
Number |
NumberFormat.parse(String source)
解析文本从给定的字符串产生一个数字的开始。
|
Object[] |
MessageFormat.parse(String source)
解析文本从给定的字符串生成一个对象数组的开始。
|
Date |
DateFormat.parse(String source)
解析文本从给定字符串的生产开始日期。
|
Object |
Format.parseObject(String source)
解析文本从给定的字符串生成一个对象的开始。
|
Constructor and Description |
---|
RuleBasedCollator(String rules)
rulebasedcollator构造函数。
|
Modifier and Type | Method and Description |
---|---|
void |
JSpinner.commitEdit()
提交当前编辑的价值的
SpinnerModel 。
|
void |
JSpinner.DefaultEditor.commitEdit()
将当前编辑的价值的
SpinnerModel 。
|
void |
JFormattedTextField.commitEdit()
目前的价值力量是从
AbstractFormatter 和设置为当前值。
|
abstract Object |
JFormattedTextField.AbstractFormatter.stringToValue(String text)
解析
text 返回任意对象。
|
abstract String |
JFormattedTextField.AbstractFormatter.valueToString(Object value)
返回的字符串值显示为
value 。
|
Modifier and Type | Method and Description |
---|---|
void |
SynthLookAndFeel.load(InputStream input, 类<?> resourceBase)
SynthStyle s负荷将由这
SynthLookAndFeel 采用集。
|
void |
SynthLookAndFeel.load(URL url)
荷载组
SynthStyle s将由这
SynthLookAndFeel 使用。
|
Modifier and Type | Method and Description |
---|---|
void |
MaskFormatter.setMask(String mask)
设置掩码口授的法律性质。
|
Object |
DefaultFormatter.stringToValue(String string)
将传入的字符串到
getValueClass 实例的方式,接受一个字符串参数的构造函数。
|
Object |
MaskFormatter.stringToValue(String value)
分析文本,返回的字符串
value 合适的对象表示。
|
Object |
InternationalFormatter.stringToValue(String text)
返回的
String
text 的
Object 表示。
|
String |
DefaultFormatter.valueToString(Object value)
将传入的对象为通过
toString 方法字符串。
|
String |
MaskFormatter.valueToString(Object value)
返回一个基于对象的字符串表示形式
value 面具。
|
String |
InternationalFormatter.valueToString(Object value)
返回该对象的字符串表示形式
value 。
|
Constructor and Description |
---|
MaskFormatter(String mask)
创建一个指定的掩码
MaskFormatter 。
|
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.