FileDialog

data class FileDialog(    val mode: FileDialogMode,     val title: String = "",     val initialFileName: String = "",     val initialDirectory: File? = null,     val extensionFilters: List<ExtensionFilter> = emptyList())

A FileDialog such as a file chooser or save dialog, depending on FileDialogMode.

See also

Constructors

Link copied to clipboard
fun FileDialog(    mode: FileDialogMode,     title: String = "",     initialFileName: String = "",     initialDirectory: File? = null,     extensionFilters: List<ExtensionFilter> = emptyList())

Creates a FileDialog with given FileDialogMode.

Properties

Link copied to clipboard
val extensionFilters: List<ExtensionFilter>

Extensions filters for this file chooser.

Link copied to clipboard
val initialDirectory: File? = null

The initial directory where to open the file chooser.

Link copied to clipboard
val initialFileName: String

The initial file name in the file name text box.

Link copied to clipboard
val mode: FileDialogMode

The Dialog's mode.

Link copied to clipboard
val title: String

The Dialog's title text.