Interface JWFileChoosersType

All Superinterfaces:
java.lang.AutoCloseable, java.io.Closeable
All Known Implementing Classes:
JWFileChoosers

public interface JWFileChoosersType
extends java.io.Closeable
A provider of file choosers. File chooser providers are expected to be application-scoped, and reused to produce file choosers on demand.
  • Method Details

    • create

      JWFileChooserType create​(javafx.stage.Window window, JWFileChooserConfiguration configuration)
      Create a new file chooser.
      Parameters:
      window - The owning window
      configuration - The file chooser configuration
      Returns:
      A new file chooser
    • filterForAllFiles

      JWFileChooserFilterType filterForAllFiles()
      Returns:
      A filter that allows access to all files
    • filterForOnlyDirectories

      JWFileChooserFilterType filterForOnlyDirectories()
      Returns:
      A filter that only allows access to directories