Interface FileChooser.Builder<B extends Builder<B>>

All Superinterfaces:
BuilderInterface
All Known Implementing Classes:
FileChooserDialog.Builder, FileChooserNative.Builder, FileChooserWidget.Builder
Enclosing interface:
FileChooser

public static interface FileChooser.Builder<B extends Builder<B>> extends BuilderInterface
  • Method Details

    • setAction

      @Deprecated default B setAction(FileChooserAction action)
      Deprecated.
      Use FileDialog instead
      The type of operation that the file chooser is performing.
      Parameters:
      action - the value for the action property
      Returns:
      the Builder instance is returned, to allow method chaining
    • setCreateFolders

      @Deprecated default B setCreateFolders(boolean createFolders)
      Deprecated.
      Use FileDialog instead
      Whether a file chooser not in FileChooserAction.OPEN mode will offer the user to create new folders.
      Parameters:
      createFolders - the value for the create-folders property
      Returns:
      the Builder instance is returned, to allow method chaining
    • setFilter

      @Deprecated default B setFilter(FileFilter filter)
      Deprecated.
      Use FileDialog instead
      The current filter for selecting files that are displayed.
      Parameters:
      filter - the value for the filter property
      Returns:
      the Builder instance is returned, to allow method chaining
    • setSelectMultiple

      @Deprecated default B setSelectMultiple(boolean selectMultiple)
      Deprecated.
      Use FileDialog instead
      Whether to allow multiple files to be selected.
      Parameters:
      selectMultiple - the value for the select-multiple property
      Returns:
      the Builder instance is returned, to allow method chaining