org.fife.ui.rtextfilechooser
Interface FileSelector

All Known Implementing Classes:
FileSystemTree, RTextFileChooser

public interface FileSelector

Interface for components that allow file selection.

Version:
1.0
Author:
Robert Futrell

Method Summary
 java.io.File getSelectedFile()
          Gets the selected file, for use when a single file is selected.
 java.io.File[] getSelectedFiles()
          Returns all selected files in this view.
 

Method Detail

getSelectedFile

public java.io.File getSelectedFile()
Gets the selected file, for use when a single file is selected.

Returns:
The selected file, or null if no file is selected.

getSelectedFiles

public java.io.File[] getSelectedFiles()
Returns all selected files in this view.

Returns:
An array of all selected files, or an empty array if no files are selected.