Package org.nuiton.jaxx.runtime
Class JaxxFileChooser
java.lang.Object
org.nuiton.jaxx.runtime.JaxxFileChooser
public class JaxxFileChooser
extends java.lang.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 java.io.FilecurrentDirectorystatic java.io.FileDEFAULT_CURRENT_DIRECTORY_FILE -
Constructor Summary
Constructors Modifier Constructor Description protectedJaxxFileChooser() -
Method Summary
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 java.io.FilegetCurrentDirectory()static booleanisCurrentDirectoryDefault()static voidsetCurrentDirectory(java.io.File dir)Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
DEFAULT_CURRENT_DIRECTORY_FILE
public static final java.io.File DEFAULT_CURRENT_DIRECTORY_FILE -
currentDirectory
protected static java.io.File currentDirectory
-
-
Constructor Details
-
JaxxFileChooser
protected JaxxFileChooser()
-
-
Method Details
-
forLoadingFile
To choose a file (in load mode). Customize it and finish by invoking the methodJaxxFileChooser.ToLoadFile.choose()to show file chooser. -
forLoadingDirectory
To choose a directory (in load mode). Customize it and finish by invoking the methodJaxxFileChooser.ToLoadDirectory.choose()to show file chooser. -
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(java.io.File dir) -
getCurrentDirectory
public static java.io.File getCurrentDirectory() -
isCurrentDirectoryDefault
public static boolean isCurrentDirectoryDefault()
-