com.pixelmed.display
Class SafeFileChooser

java.lang.Object
  extended by com.pixelmed.display.SafeFileChooser

public class SafeFileChooser
extends Object


Nested Class Summary
static class SafeFileChooser.SafeFileChooserThread
           
 
Constructor Summary
SafeFileChooser()
           
SafeFileChooser(String currentDirectoryPath)
           
 
Method Summary
 File getCurrentDirectory()
           
 File getSelectedFile()
           
 void setDialogTitle(String dialogTitle)
           
 void setFileSelectionMode(int mode)
           
 int showOpenDialog(Component parent)
           
 int showSaveDialog(Component parent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SafeFileChooser

public SafeFileChooser()

SafeFileChooser

public SafeFileChooser(String currentDirectoryPath)
Method Detail

setFileSelectionMode

public void setFileSelectionMode(int mode)
                          throws IllegalArgumentException
Throws:
IllegalArgumentException

showOpenDialog

public int showOpenDialog(Component parent)
                   throws HeadlessException
Throws:
HeadlessException

getCurrentDirectory

public File getCurrentDirectory()

getSelectedFile

public File getSelectedFile()

showSaveDialog

public int showSaveDialog(Component parent)
                   throws HeadlessException
Throws:
HeadlessException

setDialogTitle

public void setDialogTitle(String dialogTitle)
                    throws HeadlessException
Throws:
HeadlessException