Description
We will provide both a generic FileBrowser component and FileBrowserSheet and FileBrowserDialog classes. FileBrowser will be used internally by the window skins.
FileBrowserSheet and FileBrowserDialog will support the following modes:
public enum Mode
{ OPEN, OPEN_MULTIPLE, SAVE_AS, SAVE_TO }FileBrowser will provide the following properties (among others):
multiSelect: boolean – set to true when FileBrowser sheet is in OPEN_MULTIPLE mode; false, otherwise
fileFilter: Filter<File>
selectedFile: File – this would throw if "multiSelect" is true, like we do in ListView, etc. when "selectMode" is MULTI
selectedFiles: Sequence<File>
FileBrowserSkin may provide the following style:
disableFilteredFiles: boolean – when true, filtered files will be disabled; when false, they will be hidden