public static enum FileChooser.Flags extends Enum<FileChooser.Flags>
Enum Constant and Description |
---|
ALIGN_RIGHT
Indicates that the file chooser dialog should appear to the right of its
parent window rather than centered.
|
DIRECTORY
Indicates that a directory is being sought.
|
FILE
Indicates that a file is being sought.
|
Modifier and Type | Method and Description |
---|---|
static FileChooser.Flags |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileChooser.Flags[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileChooser.Flags DIRECTORY
public static final FileChooser.Flags FILE
public static final FileChooser.Flags ALIGN_RIGHT
public static FileChooser.Flags[] values()
for (FileChooser.Flags c : FileChooser.Flags.values()) System.out.println(c);
public static FileChooser.Flags 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 null