nu.zoom.swing.desktop.component.filechooser
Interface FileChooserFactory

All Known Implementing Classes:
FileChooserFactoryImpl

public interface FileChooserFactory

Factory service that produces FileChoosers.

Version:
$Revision: $
Author:
$Author: $

Method Summary
 FileChooser getFileChooser(String preferencesKey)
          Same as calling getFileChooser(preferencesKey, null, null)
 FileChooser getFileChooser(String preferencesKey, String matchDescription, List<String> matchPatterns)
          Get a file chooser.
 

Method Detail

getFileChooser

FileChooser getFileChooser(String preferencesKey,
                           String matchDescription,
                           List<String> matchPatterns)
Get a file chooser.

Parameters:
preferencesKey - The key used by the file chooser to store the recently used directory and files. May not be null or empty, may not contain /, max 80 characters.
matchDescription - A displayble description of the filename patterns - e.g. 'Image files'. May be null.
matchPatterns - A list of regular expressions that is used to filter the selectable files. May be null or empty, which means that no files should be excluded.
Returns:
A file chooser with the specified characteristics.

getFileChooser

FileChooser getFileChooser(String preferencesKey)
Same as calling getFileChooser(preferencesKey, null, null)

Parameters:
preferencesKey -
Returns:


Copyright © 2010. All Rights Reserved.