Class Overview
Synth FileChooserUI implementation.
Note that the classes in the com.sun.java.swing.plaf.synth
package are not
part of the core Java APIs. They are a part of Sun's JDK and JRE
distributions. Although other licensees may choose to distribute
these classes, developers cannot depend on their availability in
non-Sun implementations. Additionally this API may change in
incompatible ways between releases. While this class is public, it
shoud be considered an implementation detail, and subject to change.
Summary
Nested Classes |
class |
SynthFileChooserUIImpl.DirectoryComboBoxAction |
Acts when DirectoryComboBox has changed the selected item. |
class |
SynthFileChooserUIImpl.DirectoryComboBoxModel |
Data model for a type-face selection combo-box. |
class |
SynthFileChooserUIImpl.FilterComboBoxModel |
Data model for a type-face selection combo-box. |
class |
SynthFileChooserUIImpl.FilterComboBoxRenderer |
Render different type sizes and styles. |
Public Constructors
Public Methods
public
void
setFileName
(String fileName)
public
void
uninstallUI
(JComponent c)
Reverses configuration which was done on the specified component during
installUI
. This method is invoked when this
UIComponent
instance is being removed as the UI delegate
for the specified component. This method should undo the
configuration performed in installUI
, being careful to
leave the JComponent
instance in a clean state (no
extraneous listeners, look-and-feel-specific property objects, etc.).
This should include the following:
- Remove any UI-set borders from the component.
- Remove any UI-set layout managers on the component.
- Remove any UI-added sub-components from the component.
- Remove any UI-added event/property listeners from the component.
- Remove any UI-installed keyboard UI from the component.
- Nullify any allocated instance data objects to allow for GC.
Parameters
c
| the component from which this UI delegate is being removed;
this argument is often ignored,
but might be used if the UI object is stateless
and shared by multiple components |
Protected Methods
protected
void
addControlButtons
()
protected
SynthFileChooserUIImpl.DirectoryComboBoxRenderer
createDirectoryComboBoxRenderer
(JFileChooser fc)
protected
Action
getDirectoryComboBoxAction
()
protected
void
removeControlButtons
()