public static interface SaveFileCallback.Params
SaveFileCallback
.Modifier and Type | Method and Description |
---|---|
default java.util.List<java.lang.String> |
acceptableExtensions()
Returns an immutable list of the file extensions acceptable by the file chooser.
|
default boolean |
acceptAll()
Returns true when the dialog should accept all types of files and show the "All files"
filter.
|
default java.lang.String |
filterDescription()
Returns a human-readable description of the acceptable extensions (e.g.
|
default java.lang.String |
suggestedDirectory()
Returns the suggested directory for the dialog.
|
default java.lang.String |
suggestedFileName()
Returns the suggested name of the file.
|
default java.lang.String suggestedFileName()
default java.lang.String suggestedDirectory()
default java.util.List<java.lang.String> acceptableExtensions()
The acceptable file extensions are based on the types
field value of the
options
field. The extensions do not include the preceding dot character.
The list is empty in case no types
field is specified or its value is empty.
default java.lang.String filterDescription()
Returns an empty string if no acceptable extensions are provided, which means that any file type is acceptable.
default boolean acceptAll()