Package com.io7m.jwheatsheaf.ui.internal
Class JWFileChooserViewController
- java.lang.Object
-
- com.io7m.jwheatsheaf.ui.internal.JWFileChooserViewController
-
public final class JWFileChooserViewController extends java.lang.ObjectThe file chooser view controller. ThesetConfigurationmethod must be called after creation.
-
-
Constructor Summary
Constructors Constructor Description JWFileChooserViewController()Construct a view controller.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<java.nio.file.Path>result()voidsetConfiguration(JWFileChoosers inChoosers, java.util.concurrent.ExecutorService inIoExecutor, JWFileChoosersTesting inTesting, JWStrings inStrings, JWFileImageSetType inDefaultImageSet, JWFileChooserConfiguration inConfiguration)Set the file chooser provider and configuration.voidsetEventReceiver(java.util.function.Consumer<JWFileChooserEventType> newEventReceiver)
-
-
-
Method Detail
-
setEventReceiver
public void setEventReceiver(java.util.function.Consumer<JWFileChooserEventType> newEventReceiver)
-
setConfiguration
public void setConfiguration(JWFileChoosers inChoosers, java.util.concurrent.ExecutorService inIoExecutor, JWFileChoosersTesting inTesting, JWStrings inStrings, JWFileImageSetType inDefaultImageSet, JWFileChooserConfiguration inConfiguration)
Set the file chooser provider and configuration.- Parameters:
inChoosers- The providerinIoExecutor- An executor for background I/O operationsinTesting- An internal testing interfaceinStrings- UI stringsinDefaultImageSet- The default image setinConfiguration- The configuration
-
result
public java.util.List<java.nio.file.Path> result()
- Returns:
- The list of selected files, if any
-
-