|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<QFileDialog.FileMode>
com.trolltech.qt.gui.QFileDialog.FileMode
public static enum QFileDialog.FileMode
This enum is used to indicate what the user may select in the file dialog; i.e. what the dialog will return if the user clicks OK.
Enum Constant Summary | |
---|---|
AnyFile
The name of a file, whether it exists or not. |
|
Directory
The name of a directory. |
|
DirectoryOnly
The name of a directory. |
|
ExistingFile
The name of a single existing file. |
|
ExistingFiles
The names of zero or more existing files. |
Method Summary | |
---|---|
static QFileDialog.FileMode |
resolve(int value)
|
int |
value()
|
static QFileDialog.FileMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static QFileDialog.FileMode[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final QFileDialog.FileMode AnyFile
The name of a file, whether it exists or not.
public static final QFileDialog.FileMode ExistingFile
The name of a single existing file.
public static final QFileDialog.FileMode Directory
The name of a directory. Both files and directories are displayed.
public static final QFileDialog.FileMode ExistingFiles
The names of zero or more existing files.
public static final QFileDialog.FileMode DirectoryOnly
The name of a directory. The file dialog will only display directories.
Method Detail |
---|
public static final QFileDialog.FileMode[] values()
for(QFileDialog.FileMode c : QFileDialog.FileMode.values()) System.out.println(c);
public static QFileDialog.FileMode 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 namepublic int value()
value
in interface QtEnumerator
public static QFileDialog.FileMode resolve(int value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |