public static enum FileChooser.SelectionMode extends Enum<FileChooser.SelectionMode>
Enum Constant and Description |
---|
DIRECTORIES_ONLY |
FILES_AND_DIRECTORIES |
FILES_ONLY |
Modifier and Type | Method and Description |
---|---|
static FileChooser.SelectionMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileChooser.SelectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileChooser.SelectionMode FILES_ONLY
public static final FileChooser.SelectionMode DIRECTORIES_ONLY
public static final FileChooser.SelectionMode FILES_AND_DIRECTORIES
public static FileChooser.SelectionMode[] values()
for (FileChooser.SelectionMode c : FileChooser.SelectionMode.values()) System.out.println(c);
public static FileChooser.SelectionMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2015–2021 Fiji. All rights reserved.