Package org.nuiton.jaxx.runtime
Class JaxxFileChooser
- java.lang.Object
-
- org.nuiton.jaxx.runtime.JaxxFileChooser
-
public class JaxxFileChooser extends Object
Created on 10/29/14.- Since:
- 2.15
- Author:
- Tony Chemit - chemit@codelutin.com
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceJaxxFileChooser.ToLoadDirectorystatic interfaceJaxxFileChooser.ToLoadFilestatic interfaceJaxxFileChooser.ToSave
-
Field Summary
Fields Modifier and Type Field Description protected static FilecurrentDirectorystatic FileDEFAULT_CURRENT_DIRECTORY_FILE
-
Constructor Summary
Constructors Modifier Constructor Description protectedJaxxFileChooser()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static JaxxFileChooser.ToLoadDirectoryforLoadingDirectory()To choose a directory (in load mode).static JaxxFileChooser.ToLoadFileforLoadingFile()To choose a file (in load mode).static JaxxFileChooser.ToSaveforSaving()To choose a file (in save mode).static FilegetCurrentDirectory()static booleanisCurrentDirectoryDefault()static voidsetCurrentDirectory(File dir)
-
-
-
Method Detail
-
forLoadingFile
public static JaxxFileChooser.ToLoadFile forLoadingFile()
To choose a file (in load mode). Customize it and finish by invoking the methodJaxxFileChooser.ToLoadFile.choose()to show file chooser.
-
forLoadingDirectory
public static JaxxFileChooser.ToLoadDirectory forLoadingDirectory()
To choose a directory (in load mode). Customize it and finish by invoking the methodJaxxFileChooser.ToLoadDirectory.choose()to show file chooser.
-
forSaving
public static JaxxFileChooser.ToSave forSaving()
To choose a file (in save mode). Customize it and finish by invoking the methodJaxxFileChooser.ToSave.choose()to show file chooser.
-
setCurrentDirectory
public static void setCurrentDirectory(File dir)
-
getCurrentDirectory
public static File getCurrentDirectory()
-
isCurrentDirectoryDefault
public static boolean isCurrentDirectoryDefault()
-
-