Uses of Class javax.swing.JFileChooser

Uses in package javax.swing.plaf

Methods with parameter type javax.swing.JFileChooser

void
Ensures that a specified file is visible in the JFileChooser
FileFilter
Returns a FileFilter that accepts every file.
String
Determines which text is appropriate for the approve button according to the design guidelines of the implemented look and feel.
String
Determines which text is appropriate for the title bar of a JFileChooser according to the design guidelines of the implemented look and feel.
FileView
Returns a view to a file, which is able to retrieve its name, icon, and other properties that are relevant for presenting the file to the user.
void
Refreshes the currently displayed directory.

Uses in package javax.swing.plaf.multi

Methods with parameter type javax.swing.JFileChooser

void
Calls the FileChooserUI.ensureFileIsVisible(JFileChooser,File) method for all the UI delegates managed by this MultiFileChooserUI.
FileFilter
Calls the FileChooserUI.getAcceptAllFileFilter(JFileChooser) method for all the UI delegates managed by this MultiFileChooserUI, returning the filter for the UI delegate from the primary look and feel.
String
Calls the FileChooserUI.getApproveButtonText(JFileChooser) method for all the UI delegates managed by this MultiFileChooserUI, returning the text for the UI delegate from the primary look and feel.
String
Calls the FileChooserUI.getDialogTitle(JFileChooser) method for all the UI delegates managed by this MultiFileChooserUI, returning the title for the UI delegate from the primary look and feel.
FileView
Calls the FileChooserUI.getFileView(JFileChooser) method for all the UI delegates managed by this MultiFileChooserUI, returning the view for the UI delegate from the primary look and feel.
void
Calls the FileChooserUI.rescanCurrentDirectory(JFileChooser) method for all the UI delegates managed by this MultiFileChooserUI.

Uses in package javax.swing.plaf.metal

Constructors with parameter type javax.swing.JFileChooser

Creates a new instance of this UI delegate.

Methods with parameter type javax.swing.JFileChooser

JPanel
Creates a panel containing a table within a scroll pane.
MetalFileChooserUI.DirectoryComboBoxModel
Creates and returns a new instance of MetalFileChooserUI.DirectoryComboBoxModel.
javax.swing.plaf.metal.MetalFileChooserUI.DirectoryComboBoxRenderer
Creates a new instance of the renderer used in the directory combo box.
JPanel
Creates a panel containing a list of files.
ListSelectionListener
Creates a listener that monitors selections in the directory/file list and keeps the JFileChooser component up to date.
PropertyChangeListener
Creates a property change listener that monitors the JFileChooser for property change events and updates the component display accordingly.
JButton
Returns the approve button.
void
Installs the sub-components of the file chooser.
void
Installs the listeners required.
void
Fetches localised strings for use by the labels and buttons on the file chooser.
void
Updates the current directory.
void
Uninstalls the components added by installComponents(JFileChooser).
void

Uses in package javax.swing.plaf.basic

Constructors with parameter type javax.swing.JFileChooser

Creates a new BasicDirectoryModel object.
Creates a new BasicFileChooserUI object.

Methods with parameter type javax.swing.JFileChooser

MouseListener
Creates a new listener to handle double-click events.
ListSelectionListener
Creates a new listener to handle selections in the file list.
PropertyChangeListener
Creates a listener to handle changes to the properties of the given file chooser component.
void
NOT YET IMPLEMENTED.
FileFilter
Returns the "accept all" file filter.
JButton
Returns the approve (open or save) button for the dialog.
int
Returns the approve button mnemonic.
String
Returns the approve button text.
String
Returns the tool tip text for the approve (open/save) button.
String
Returns the dialog title.
FileView
Returns the default file view (NOT the file view from the file chooser, if there is one).
void
Creates and install the subcomponents for the file chooser.
void
Installs the defaults for this UI delegate.
void
Installs the icons for this UI delegate.
void
Installs the listeners required by this UI delegate.
void
Installs the strings used by this UI delegate.
void
Rescans the current directory.
void
Uninstalls the components from the file chooser.
void
Uninstalls the defaults previously added by this UI delegate.
void
Uninstalls the icons previously added by this UI delegate.
void
Uninstalls the listeners previously installed by this UI delegate.
void
Uninstalls the strings previously added by this UI delegate.

Methods with return type javax.swing.JFileChooser

JFileChooser
Returns the JFileChooser component that this UI delegate represents.