- All Superinterfaces:
FilePicker,MultipleFileSelector
- All Known Implementing Classes:
NativeFileOpenPicker,WebFileOpenPicker
FilePicker interface extension for file open operations.- Author:
- Besmir Beqiri
-
Property Summary
Properties inherited from interface one.jpro.platform.file.picker.FilePicker
initialDirectory, initialFileName, selectedExtensionFilter, titleProperties inherited from interface one.jpro.platform.file.MultipleFileSelector
onFilesSelected, selectionMode -
Method Summary
Static MethodsModifier and TypeMethodDescriptionstatic FileOpenPickercreate(javafx.scene.Node node) Creates a file picker.Methods inherited from interface one.jpro.platform.file.picker.FilePicker
getExtensionFilters, getInitialDirectory, getInitialFileName, getNode, getSelectedExtensionFilter, getTitle, initialDirectoryProperty, initialFileNameProperty, selectedExtensionFilterProperty, setInitialDirectory, setInitialFileName, setSelectedExtensionFilter, setTitle, titlePropertyMethods inherited from interface one.jpro.platform.file.MultipleFileSelector
getOnFilesSelected, getSelectionMode, onFilesSelectedProperty, selectionModeProperty, setOnFilesSelected, setSelectionMode
-
Method Details
-
create
Creates a file picker. If the application is running in a browser via JPro server, then a web version of the file picker is returned. If the application is not running inside the browser than a desktop version is returned.- Parameters:
node- the associated node for this file picker- Returns:
- a
FileOpenPickerobject. - Throws:
NullPointerException- if the node is null
-