Class FileDialogHints
java.lang.Object
com.codename1.io.filechooser.FileDialogHints
Platform specific hints for FileDialogRequest#hint(String, Object).
A hint tunes a native dialog in a way only some platforms can. A platform that does not know a hint ignores it, so an application can set every hint it cares about unconditionally. The prefix names the platform that reads it.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringString: acontent://URI the Android picker starts in.static final StringBoolean: keep persistable read/write permission to the picked Android document across restarts.static final StringBoolean: show hidden files in the GTK chooser and the simulator.static final StringBoolean: move rather than copy the exported file on iOS.static final StringBoolean: show file extensions in the iOS document picker.static final StringBoolean: allow creating folders from a macOS panel.static final StringBoolean: let the user hide the extension in a macOS save panel.static final StringBoolean: show hidden files in a macOS panel.static final StringBoolean: show the Finder tag field in a macOS save panel.static final StringBoolean: treat packages (.app,.bundle) as folders in a macOS open panel.static final StringString: a GUID string; Windows remembers the last folder and size separately per GUID, so different dialogs of one app do not share state.static final StringString: the folder Windows shows when the user has no recent folder, as opposed toFileDialogRequest#initialDirectory, which always wins. -
Method Summary
-
Field Details
-
MAC_SHOWS_TAG_FIELD
Boolean: show the Finder tag field in a macOS save panel.- See Also:
-
MAC_CAN_CREATE_DIRECTORIES
Boolean: allow creating folders from a macOS panel. Defaults to true.- See Also:
-
MAC_SHOWS_HIDDEN_FILES
Boolean: show hidden files in a macOS panel.- See Also:
-
MAC_CAN_SELECT_HIDDEN_EXTENSION
Boolean: let the user hide the extension in a macOS save panel.- See Also:
-
MAC_TREATS_PACKAGES_AS_DIRECTORIES
Boolean: treat packages (.app,.bundle) as folders in a macOS open panel.- See Also:
-
IOS_SHOWS_FILE_EXTENSIONS
Boolean: show file extensions in the iOS document picker.- See Also:
-
IOS_EXPORT_AS_MOVE
Boolean: move rather than copy the exported file on iOS. Defaults to copy.- See Also:
-
ANDROID_INITIAL_URI
String: acontent://URI the Android picker starts in.- See Also:
-
ANDROID_PERSIST_PERMISSION
Boolean: keep persistable read/write permission to the picked Android document across restarts.- See Also:
-
WIN_CLIENT_GUID
String: a GUID string; Windows remembers the last folder and size separately per GUID, so different dialogs of one app do not share state.- See Also:
-
WIN_DEFAULT_FOLDER
String: the folder Windows shows when the user has no recent folder, as opposed toFileDialogRequest#initialDirectory, which always wins.- See Also:
-
DESKTOP_SHOW_HIDDEN
Boolean: show hidden files in the GTK chooser and the simulator.- See Also:
-