Package com.io7m.jwheatsheaf.ui
Class JWFileChoosers
- java.lang.Object
-
- com.io7m.jwheatsheaf.ui.JWFileChoosers
-
- All Implemented Interfaces:
JWFileChoosersType,java.io.Closeable,java.lang.AutoCloseable
public final class JWFileChoosers extends java.lang.Object implements JWFileChoosersType
The default implementation of theJWFileChoosersTypeinterface.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()static JWFileChoosersTypecreate()Create a new file chooser provider.JWFileChooserTypecreate(javafx.stage.Window window, JWFileChooserConfiguration configuration)Create a new file chooser.static JWFileChoosersTypecreateWith(java.util.concurrent.ExecutorService executor, java.util.Locale locale)Create a new file chooser provider.static JWFileChoosersTypecreateWithTesting(java.util.concurrent.ExecutorService executor, JWFileChoosersTesting testing, java.util.Locale locale)Create a new file chooser provider.
-
-
-
Method Detail
-
create
public static JWFileChoosersType create()
Create a new file chooser provider.- Returns:
- A file chooser provider
-
createWithTesting
public static JWFileChoosersType createWithTesting(java.util.concurrent.ExecutorService executor, JWFileChoosersTesting testing, java.util.Locale locale)
Create a new file chooser provider.- Parameters:
executor- An executor used for background I/O operationstesting- Testing parameterslocale- The locale used for internal string resources- Returns:
- A file chooser provider
-
createWith
public static JWFileChoosersType createWith(java.util.concurrent.ExecutorService executor, java.util.Locale locale)
Create a new file chooser provider.- Parameters:
executor- An executor used for background I/O operationslocale- The locale used for internal string resources- Returns:
- A file chooser provider
-
create
public JWFileChooserType create(javafx.stage.Window window, JWFileChooserConfiguration configuration)
Description copied from interface:JWFileChoosersTypeCreate a new file chooser.- Specified by:
createin interfaceJWFileChoosersType- Parameters:
window- The owning windowconfiguration- The file chooser configuration- Returns:
- A new file chooser
-
close
public void close()
- Specified by:
closein interfacejava.lang.AutoCloseable- Specified by:
closein interfacejava.io.Closeable
-
-