install4j API documentation



com.install4j.api.beaninfo
Class FileSelectionMode

java.lang.Object
  extended by com.install4j.api.beaninfo.FileSelectionMode

public class FileSelectionMode
extends java.lang.Object

Enumeration class for all possible file selection modes for file property descriptors.

See Also:
FilePropertyDescriptor.create(String, Class, String, String, FileSelectionMode, String[], String)

Field Summary
static FileSelectionMode DIRECTORIES_ONLY
          Only show directories in the file chooser.
static FileSelectionMode FILES_AND_DIRECTORIES
          Show both files and directories in the file chooser.
static FileSelectionMode FILES_ONLY
          Only show files in the file chooser.
 
Method Summary
 int getJFileChooserMode()
          Convert to an int value.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FILES_ONLY

public static final FileSelectionMode FILES_ONLY
Only show files in the file chooser.


DIRECTORIES_ONLY

public static final FileSelectionMode DIRECTORIES_ONLY
Only show directories in the file chooser.


FILES_AND_DIRECTORIES

public static final FileSelectionMode FILES_AND_DIRECTORIES
Show both files and directories in the file chooser.

Method Detail

getJFileChooserMode

public int getJFileChooserMode()
Convert to an int value.

Returns:
the in value