public class

SynthFileChooserUIImpl

extends SynthFileChooserUI
java.lang.Object
   ↳ javax.swing.plaf.ComponentUI
     ↳ javax.swing.plaf.FileChooserUI
       ↳ javax.swing.plaf.basic.BasicFileChooserUI
         ↳ sun.swing.plaf.synth.SynthFileChooserUI
           ↳ sun.swing.plaf.synth.SynthFileChooserUIImpl

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. 
[Expand]
Inherited Constants
From interface javax.swing.plaf.synth.SynthConstants
[Expand]
Inherited Fields
From class javax.swing.plaf.basic.BasicFileChooserUI
Public Constructors
SynthFileChooserUIImpl(JFileChooser b)
Public Methods
String getFileName()
void installComponents(JFileChooser fc)
void rescanCurrentDirectory(JFileChooser fc)
void setFileName(String fileName)
void uninstallUI(JComponent c)
Reverses configuration which was done on the specified component during installUI.
Protected Methods
void addControlButtons()
ActionMap createActionMap()
SynthFileChooserUIImpl.DirectoryComboBoxModel createDirectoryComboBoxModel(JFileChooser fc)
SynthFileChooserUIImpl.DirectoryComboBoxRenderer createDirectoryComboBoxRenderer(JFileChooser fc)
SynthFileChooserUIImpl.FilterComboBoxModel createFilterComboBoxModel()
SynthFileChooserUIImpl.FilterComboBoxRenderer createFilterComboBoxRenderer()
void doAccessoryChanged(PropertyChangeEvent e)
void doControlButtonsChanged(PropertyChangeEvent e)
void doDirectoryChanged(PropertyChangeEvent e)
void doFileSelectionModeChanged(PropertyChangeEvent e)
void doSelectedFileChanged(PropertyChangeEvent e)
void doSelectedFilesChanged(PropertyChangeEvent e)
JComponent getDirectoryComboBox()
Action getDirectoryComboBoxAction()
void installDefaults(JFileChooser fc)
void installListeners(JFileChooser fc)
void installStrings(JFileChooser fc)
void removeControlButtons()
void uninstallListeners(JFileChooser fc)
[Expand]
Inherited Methods
From class sun.swing.plaf.synth.SynthFileChooserUI
From class javax.swing.plaf.basic.BasicFileChooserUI
From class javax.swing.plaf.FileChooserUI
From class javax.swing.plaf.ComponentUI
From class java.lang.Object
From interface sun.swing.plaf.synth.SynthUI

Public Constructors

public SynthFileChooserUIImpl (JFileChooser b)

Public Methods

public String getFileName ()

public void installComponents (JFileChooser fc)

public void rescanCurrentDirectory (JFileChooser fc)

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:

  1. Remove any UI-set borders from the component.
  2. Remove any UI-set layout managers on the component.
  3. Remove any UI-added sub-components from the component.
  4. Remove any UI-added event/property listeners from the component.
  5. Remove any UI-installed keyboard UI from the component.
  6. 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 ActionMap createActionMap ()

protected SynthFileChooserUIImpl.DirectoryComboBoxModel createDirectoryComboBoxModel (JFileChooser fc)

protected SynthFileChooserUIImpl.DirectoryComboBoxRenderer createDirectoryComboBoxRenderer (JFileChooser fc)

protected SynthFileChooserUIImpl.FilterComboBoxModel createFilterComboBoxModel ()

protected SynthFileChooserUIImpl.FilterComboBoxRenderer createFilterComboBoxRenderer ()

protected void doAccessoryChanged (PropertyChangeEvent e)

protected void doControlButtonsChanged (PropertyChangeEvent e)

protected void doDirectoryChanged (PropertyChangeEvent e)

protected void doFileSelectionModeChanged (PropertyChangeEvent e)

protected void doSelectedFileChanged (PropertyChangeEvent e)

protected void doSelectedFilesChanged (PropertyChangeEvent e)

protected JComponent getDirectoryComboBox ()

protected Action getDirectoryComboBoxAction ()

protected void installDefaults (JFileChooser fc)

protected void installListeners (JFileChooser fc)

protected void installStrings (JFileChooser fc)

protected void removeControlButtons ()

protected void uninstallListeners (JFileChooser fc)