public enum FileSelectionMode extends java.lang.Enum<FileSelectionMode>
| Enum Constant and Description |
|---|
directoriesOnly
Directories only selection mode.
|
filesAndDirectories
Files and directories selection mode.
|
filesOnly
Files only selection mode.
|
| Modifier and Type | Method and Description |
|---|---|
static FileSelectionMode |
get(int modeId)
Returns selection mode for the specified selection mode ID.
|
int |
getModeId()
Returns selection mode ID.
|
static FileSelectionMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FileSelectionMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileSelectionMode filesOnly
public static final FileSelectionMode directoriesOnly
public static final FileSelectionMode filesAndDirectories
public static FileSelectionMode[] values()
for (FileSelectionMode c : FileSelectionMode.values()) System.out.println(c);
public static FileSelectionMode 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 nullpublic int getModeId()
public static FileSelectionMode get(int modeId)
modeId - selection mode ID