| Package | Description |
|---|---|
| java.text |
Provides classes and interfaces for handling text, dates, numbers, and messages in a manner independent of natural languages.
|
| 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.plaf.synth |
Synth is a skinnable look and feel in which all painting is delegated.
|
| javax.swing.text |
Provides classes and interfaces that deal with editable and noneditable text components.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
MessageFormat.parse(String
Parses text from the beginning of the given string to produce an object array.
|
Number |
NumberFormat.parse(String
Parses text from the beginning of the given string to produce a number.
|
Date |
DateFormat.parse(String
Parses text from the beginning of the given string to produce a date.
|
Object |
Format.parseObject(String
Parses text from the beginning of the given string to produce an object.
|
| Constructor and Description | |
|---|---|
RuleBasedCollator(String
RuleBasedCollator constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JFormattedTextField.commitEdit()
Forces the current value to be taken from the
AbstractFormatter and set as the current value.
|
void |
JSpinner.commitEdit()
Commits the currently edited value to the
SpinnerModel.
|
void |
JSpinner.DefaultEditor.commitEdit()
Pushes the currently edited value to the
SpinnerModel.
|
abstract Object |
JFormattedTextField.AbstractFormatter.stringToValue(String
Parses
text returning an arbitrary Object.
|
abstract String |
JFormattedTextField.AbstractFormatter.valueToString(Object
Returns the string value to display for
value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SynthLookAndFeel.load(InputStream
Loads the set of
SynthStyles that will be used by this
SynthLookAndFeel.
|
void |
SynthLookAndFeel.load(URL
Loads the set of
SynthStyles that will be used by this
SynthLookAndFeel.
|
| Modifier and Type | Method and Description |
|---|---|
void |
MaskFormatter.setMask(String
Sets the mask dictating the legal characters.
|
Object |
InternationalFormatter.stringToValue(String
Returns the
Object representation of the
String
text.
|
Object |
MaskFormatter.stringToValue(String
Parses the text, returning the appropriate Object representation of the String
value.
|
Object |
DefaultFormatter.stringToValue(String
Converts the passed in String into an instance of
getValueClass by way of the constructor that takes a String argument.
|
String |
InternationalFormatter.valueToString(Object
Returns a String representation of the Object
value.
|
String |
MaskFormatter.valueToString(Object
Returns a String representation of the Object
value based on the mask.
|
String |
DefaultFormatter.valueToString(Object
Converts the passed in Object into a String by way of the
toString method.
|
| Constructor and Description | |
|---|---|
MaskFormatter(String
Creates a
MaskFormatter with the specified mask.
|