Package com.install4j.api.beaninfo
Enum Class FileSelectionMode
- All Implemented Interfaces:
Serializable
,Comparable<FileSelectionMode>
,Constable
Enumeration class for all possible file selection modes for file property descriptors.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionOnly show directories in the file chooser.Show both files and directories in the file chooser.Only show files in the file chooser. -
Method Summary
Modifier and TypeMethodDescriptionint
Convert to an int value.static FileSelectionMode
Returns the enum constant of this class with the specified name.static FileSelectionMode[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FILES_ONLY
Only show files in the file chooser. -
DIRECTORIES_ONLY
Only show directories in the file chooser. -
FILES_AND_DIRECTORIES
Show both files and directories in the file chooser.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
getJFileChooserMode
public int getJFileChooserMode()Convert to an int value.- Returns:
- the int value
-