| Package | Description |
|---|---|
| java.text | |
| javax.swing | |
| javax.swing.plaf.synth | |
| javax.swing.text |
| Modifier and Type | Method and Description |
|---|---|
Number |
NumberFormat.parse(String source)
Parses text from the beginning of the given string to produce a number.
|
Object[] |
MessageFormat.parse(String source)
Parses text from the beginning of the given string to produce an object
array.
|
Date |
DateFormat.parse(String source)
Parses text from the beginning of the given string to produce a date.
|
Object |
Format.parseObject(String source)
Parses text from the beginning of the given string to produce an object.
|
| Constructor and Description |
|---|
RuleBasedCollator(String rules)
RuleBasedCollator constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JSpinner.commitEdit()
Commits the currently edited value to the
SpinnerModel. |
void |
JSpinner.DefaultEditor.commitEdit()
Pushes the currently edited value to the
SpinnerModel. |
void |
JFormattedTextField.commitEdit()
Forces the current value to be taken from the
AbstractFormatter and set as the current value. |
abstract Object |
JFormattedTextField.AbstractFormatter.stringToValue(String text)
Parses
text returning an arbitrary Object. |
abstract String |
JFormattedTextField.AbstractFormatter.valueToString(Object value)
Returns the string value to display for
value. |
| Modifier and Type | Method and Description |
|---|---|
void |
SynthLookAndFeel.load(InputStream input,
Class<?> resourceBase)
Loads the set of
SynthStyles that will be used by
this SynthLookAndFeel. |
void |
SynthLookAndFeel.load(URL url)
Loads the set of
SynthStyles that will be used by
this SynthLookAndFeel. |
| Modifier and Type | Method and Description |
|---|---|
void |
MaskFormatter.setMask(String mask)
Sets the mask dictating the legal characters.
|
Object |
MaskFormatter.stringToValue(String value)
Parses the text, returning the appropriate Object representation of
the String
value. |
Object |
InternationalFormatter.stringToValue(String text)
Returns the
Object representation of the
String text. |
Object |
DefaultFormatter.stringToValue(String string)
Converts the passed in String into an instance of
getValueClass by way of the constructor that
takes a String argument. |
String |
MaskFormatter.valueToString(Object value)
Returns a String representation of the Object
value
based on the mask. |
String |
InternationalFormatter.valueToString(Object value)
Returns a String representation of the Object
value. |
String |
DefaultFormatter.valueToString(Object value)
Converts the passed in Object into a String by way of the
toString method. |
| Constructor and Description |
|---|
MaskFormatter(String mask)
Creates a
MaskFormatter with the specified mask. |
Generated by SciJava from the sources of OpenJDK 8 (Zulu), which are licensed under the GNU General Public License, version 2, with the Classpath Exception. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.