Package org.esa.snap.ui
Class FileChooserFactory
- java.lang.Object
-
- org.esa.snap.ui.FileChooserFactory
-
public class FileChooserFactory extends Object
A factory which is used to create instances ofJFileChooser
.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description JFileChooser
createDirChooser(File currentDirectory)
JFileChooser
createFileChooser(File currentDirectory)
Class<? extends JFileChooser>
getDirChooserClass()
Class<? extends JFileChooser>
getFileChooserClass()
static FileChooserFactory
getInstance()
void
setDirChooserClass(Class<? extends JFileChooser> dirChooserClass)
void
setFileChooserClass(Class<? extends JFileChooser> fileChooserClass)
-
-
-
Method Detail
-
getFileChooserClass
public Class<? extends JFileChooser> getFileChooserClass()
-
setFileChooserClass
public void setFileChooserClass(Class<? extends JFileChooser> fileChooserClass)
-
getDirChooserClass
public Class<? extends JFileChooser> getDirChooserClass()
-
setDirChooserClass
public void setDirChooserClass(Class<? extends JFileChooser> dirChooserClass)
-
getInstance
public static FileChooserFactory getInstance()
-
createFileChooser
public JFileChooser createFileChooser(File currentDirectory)
-
createDirChooser
public JFileChooser createDirChooser(File currentDirectory)
-
-