Class FileChooserImpl

  • All Implemented Interfaces:
    FileChooser

    class FileChooserImpl
    extends java.lang.Object
    implements FileChooser
    • Method Detail

      • isMultiple

        public boolean isMultiple()
        Description copied from interface: FileChooser
        Returns whether this file chooser accepts multiple files.
        Specified by:
        isMultiple in interface FileChooser
      • page

        public Page page()
        Description copied from interface: FileChooser
        Returns page this file chooser belongs to.
        Specified by:
        page in interface FileChooser
      • setFiles

        public void setFiles​(java.nio.file.Path files,
                             FileChooser.SetFilesOptions options)
        Description copied from interface: FileChooser
        Sets the value of the file input this chooser is associated with. If some of the filePaths are relative paths, then they are resolved relative to the current working directory. For empty array, clears the selected files.
        Specified by:
        setFiles in interface FileChooser
      • setFiles

        public void setFiles​(java.nio.file.Path[] files,
                             FileChooser.SetFilesOptions options)
        Description copied from interface: FileChooser
        Sets the value of the file input this chooser is associated with. If some of the filePaths are relative paths, then they are resolved relative to the current working directory. For empty array, clears the selected files.
        Specified by:
        setFiles in interface FileChooser
      • setFiles

        public void setFiles​(FilePayload files,
                             FileChooser.SetFilesOptions options)
        Description copied from interface: FileChooser
        Sets the value of the file input this chooser is associated with. If some of the filePaths are relative paths, then they are resolved relative to the current working directory. For empty array, clears the selected files.
        Specified by:
        setFiles in interface FileChooser
      • setFiles

        public void setFiles​(FilePayload[] files,
                             FileChooser.SetFilesOptions options)
        Description copied from interface: FileChooser
        Sets the value of the file input this chooser is associated with. If some of the filePaths are relative paths, then they are resolved relative to the current working directory. For empty array, clears the selected files.
        Specified by:
        setFiles in interface FileChooser