org.gnome.gtk
Class FileChooserAction
java.lang.Object
org.freedesktop.bindings.Constant
org.gnome.gtk.FileChooserAction
public final class FileChooserAction
extends org.freedesktop.bindings.Constant
Set which kind of FileChooser Dialog will appear.
CREATE_FOLDER
public static final FileChooserAction CREATE_FOLDER
Create folder mode: put the FileChooser into a mode whereby it is
creating a new directory. It will, however, let the user name an
existing directory, which might be thought of as a bit odd, but it's a
usability feature making the interface consistent across GNOME.
OPEN
public static final FileChooserAction OPEN
Open mode: the FileChooser will only let the user pick an existing
file.
SAVE
public static final FileChooserAction SAVE
Save mode: the FileChooser will come up in a form suited to saving
files. It will let the user pick an existing file [TODO: which will
lead to an overwrite yes/no question, right?], or type in a new
filename.
SELECT_FOLDER
public static final FileChooserAction SELECT_FOLDER
Open folder mode: set the FileChooser to enable the user pick a
specific directory.
|  java-gnome |