Class FileSelector

  extended by com.mebigfatguy.polycasso.FileSelector

public class FileSelector
extends java.lang.Object

a class for picking a save as file name given the specified file type

Constructor Summary
FileSelector(FileType type)
          constructs a selector of the given type
Method Summary
 java.lang.String getFileName()
          shows a dialog to pick a save target.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Detail


public FileSelector(FileType type)
constructs a selector of the given type

type - the type of save operation desired
Method Detail


public java.lang.String getFileName()
shows a dialog to pick a save target. Ensures that the proper extension is given for the file

the path of the selected file or null if not selected

Copyright © 2009-2010 All Rights Reserved.