1 |
|
2005-11-30 Anthony Balkissoon <abalkiss@redhat.com> |
2 |
|
|
3 |
|
* javax/swing/JFormattedTextField.java: |
4 |
|
(AbstractFormatter.install): Try to set the text of the formatted text |
5 |
|
field using this formatter. |
6 |
|
(FormatterFactoryWrapper): Removed this unneeded class, this is handled |
7 |
|
by DefaultFormatterFactory now. |
8 |
|
(formatter): New field. |
9 |
|
(JFormattedTextField(Format)): Implemented. |
10 |
|
(JFormattedTextField(AbstractFormatter)): Instantiate a |
11 |
|
DefaultFormatterFactory instead of a FormatterFactoryWrapper. |
12 |
|
(JFormattedTextField(AbstractFormatterFactory, Object)): Call setValue |
13 |
|
and setFormatterFactory instead of setting variables directly because |
14 |
|
more needs to be done than just setting the value of the variables. |
15 |
|
(JFormattedTextField(Object value)): Call setValue instead of setting |
16 |
|
the variable directly. |
17 |
|
(getAppropriateFormatterFactory): New implementation method. |
18 |
|
(getFormatter): Don't use the formatter factory here, just return |
19 |
|
the cached formatter. |
20 |
|
(processFocusEvent): Set the formatter to the appropriate one as |
21 |
|
determined by the formatter factory. |
22 |
|
(setFormatter): Don't get the old formatter from the factory, just use |
23 |
|
the cached formatter. Uninstall the old formatter. Install the new |
24 |
|
formatter. Cache the new formatter. Don't create a new formatter |
25 |
|
factory. |
26 |
|
(setFormatterFactory): Set the formatter according to the new formatter |
27 |
|
factory. |
28 |
|
(setValue): Moved the setting of the value variable to above the call |
29 |
|
to createFormatter so that an appropriate formatter is created. Cache |
30 |
|
the formatter that is created. |
31 |
|
(createFormatter): If argument is a Number, use a NumberFormatter. |
32 |
|
* javax/swing/text/DefaultFormatter.java: |
33 |
|
(valueToString): If argument is null return empty String. |
34 |
|
|
35 |
2005-11-30 Lillian Angel <langel@redhat.com> |
2005-11-30 Lillian Angel <langel@redhat.com> |
36 |
|
|
37 |
* javax/swing/plaf/basic/BasicFileChooserUI.java |
* javax/swing/plaf/basic/BasicFileChooserUI.java |