Graph Common

pl.psnc.graph.io
Class FileChooserFactory

java.lang.Object
  extended by pl.psnc.graph.io.FileChooserFactory

public class FileChooserFactory
extends java.lang.Object

FileChooserFactory class - the abstract factory for creating the file chooser dialogs.

Author:
Dominik Stoklosa
Email address
osa@man.poznan.pl

Constructor Summary
FileChooserFactory()
           
 
Method Summary
static javax.swing.JFileChooser getFileChooser(ChooserType type, FileFilterType... fileFilterList)
          Gets the file chooser by the given type.s
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileChooserFactory

public FileChooserFactory()
Method Detail

getFileChooser

public static javax.swing.JFileChooser getFileChooser(ChooserType type,
                                                      FileFilterType... fileFilterList)
Gets the file chooser by the given type.s

Parameters:
type - type of the current file chooser. Instance of ChooserType.
fileFilterList - list of file filters to be used for the current file chooser.
Returns:
instance of JFileChooser.

Graph Common

Copyright 2008 by VLAB Dominik Stoklosa