File Value
constructor(name: String, default: File?, dialogMode: FileDialogMode, supportedExtensions: Set<String>?)
Parameters
name
The name of the configuration option.
default
The default selected file. The default value is ConfigSystem.rootFolder.
dialog Mode
Specifies the type of file dialog to show (e.g., open file, save file, choose folder).
supported Extensions
A set of allowed file extensions (without the dot), e.g., setOf("txt", "json"). Use null to allow any file type. This is ignored if dialogMode is set to select directories.