public enum FileChooserType extends java.lang.Enum<FileChooserType>
| Enum Constant and Description |
|---|
custom
Custom file chooser type.
|
open
Open file chooser type.
|
save
Save file chooser type.
|
| Modifier and Type | Method and Description |
|---|---|
static FileChooserType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileChooserType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileChooserType save
File chooser of this type has a special input field to enter saved file name. It is also limited to single file selection since there is no point in saving single content into multiply files. It also has an extension chooser combobox if allowed extensions are limited.
public static final FileChooserType open
File chooser of this type is used to choose single or multiply files.
public static final FileChooserType custom
public static FileChooserType[] values()
for (FileChooserType c : FileChooserType.values()) System.out.println(c);
public static FileChooserType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null