Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
GObject
org.gnu.gtk.GtkObject
org.gnu.gtk.Widget
org.gnu.gtk.Container
org.gnu.gtk.Bin
org.gnu.gtk.Window
org.gnu.gtk.Dialog
org.gnu.gtk.FileChooserDialog
Constructor Summary | |
| |
|
Method Summary | |
void |
|
void |
|
void |
|
void |
|
FileChooserAction | |
String | |
String | |
Widget | |
static FileChooserDialog |
|
String | |
String[] | |
FileFilter | |
boolean | |
String | |
String | |
Widget | |
boolean | |
boolean | |
boolean |
|
String |
|
String[] |
|
boolean | |
FileFilter[] | |
String[] | |
String[] | |
int |
|
void |
|
void |
|
void |
|
void |
|
void | |
boolean |
|
boolean |
|
void |
|
boolean |
|
boolean |
|
void |
|
void |
|
boolean |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
boolean |
|
void |
|
void | |
void |
|
void |
|
Methods inherited from class org.gnu.gtk.Dialog | |
addButton , addButton , addListener , addWidget , getActionArea , getDialog , getDialogLayout , getEventListenerClass , getEventType , getHasSeparator , getResponseForWidget , getType , removeListener , run , setDefaultResponse , setHasSeparator |
Methods inherited from class org.gnu.gtk.Container | |
add , addListener , getBooleanChildProperty , getBorderWidth , getChildProperty , getChildren , getEventListenerClass , getEventType , getIntChildProperty , getResizeMode , getType , remove , removeListener , resizeChildren , setBooleanChildProperty , setBorderWidth , setChildProperty , setIntChildProperty , setResizeMode |
public FileChooserDialog(Handle handle)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Construct a dialog using a handle to a native resource.
public void addListener(FileChooserListener listener)
- Specified by:
- addListener in interface FileChooser
public void addShortcutFolder(String folder) throws FileChooserException
- Specified by:
- addShortcutFolder in interface FileChooser
public void addShortcutURI(String uri) throws FileChooserException
- Specified by:
- addShortcutURI in interface FileChooser
public String getCurrentFolder()
- Specified by:
- getCurrentFolder in interface FileChooser
public String getCurrentFolderURI()
- Specified by:
- getCurrentFolderURI in interface FileChooser
public static FileChooserDialog getFileChooserDialog(Handle handle)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Internal static factory method to be used by Java-Gnome only.
public String getPreviewFilename()
- Specified by:
- getPreviewFilename in interface FileChooser
public Widget getPreviewWidget()
- Specified by:
- getPreviewWidget in interface FileChooser
public boolean getPreviewWidgetActive()
- Specified by:
- getPreviewWidgetActive in interface FileChooser
public boolean getSelectMultiple()
- Specified by:
- getSelectMultiple in interface FileChooser
public boolean getShowHidden()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets whether hidden files and folders are displayed in the file selector.
- Specified by:
- getShowHidden in interface FileChooser
- Returns:
- true if hidden files and folders should be displayed.
public boolean getUsePreviewLabel()
- Specified by:
- getUsePreviewLabel in interface FileChooser
public String[] listShortcutFolders()
- Specified by:
- listShortcutFolders in interface FileChooser
public String[] listShortcutURIs()
- Specified by:
- listShortcutURIs in interface FileChooser
public int open()
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Works similarly toDialog.run()
. The only difference is that it also adds theGtkStockItem.CANCEL
and theGtkStockItem.OK
buttons to the FileChooserDialog.
- Returns:
- The response that indicates which button the user pressed or
ResponseType.NONE
if the window was destroyed.
public void removeFilter(FileFilter filter)
- Specified by:
- removeFilter in interface FileChooser
public void removeListener(FileChooserListener listener)
- Specified by:
- removeListener in interface FileChooser
public void removeShortcutFolder(String folder) throws FileChooserException
- Specified by:
- removeShortcutFolder in interface FileChooser
public void removeShortcutURI(String uri) throws FileChooserException
- Specified by:
- removeShortcutURI in interface FileChooser
public boolean selectFilename(String filename)
- Specified by:
- selectFilename in interface FileChooser
public void setAction(FileChooserAction action)
- Specified by:
- setAction in interface FileChooser
public boolean setCurrentFolder(String folder)
- Specified by:
- setCurrentFolder in interface FileChooser
public boolean setCurrentFolderURI(String folder)
- Specified by:
- setCurrentFolderURI in interface FileChooser
public void setCurrentName(String name)
- Specified by:
- setCurrentName in interface FileChooser
public void setExtraWidget(Widget extraWidget)
- Specified by:
- setExtraWidget in interface FileChooser
public boolean setFilename(String filename)
- Specified by:
- setFilename in interface FileChooser
public void setLocalOnly(boolean localOnly)
- Specified by:
- setLocalOnly in interface FileChooser
public void setPreviewWidget(Widget previewWidget)
- Specified by:
- setPreviewWidget in interface FileChooser
public void setPreviewWidgetActive(boolean active)
- Specified by:
- setPreviewWidgetActive in interface FileChooser
public void setSelectMultiple(boolean selectMultiple)
- Specified by:
- setSelectMultiple in interface FileChooser
public void setShowHidden(boolean hidden)
Deprecated. Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets whether hidden files and folders are displayed in the file selector.
- Specified by:
- setShowHidden in interface FileChooser
- Parameters:
hidden
- true if hidden files and folders should be displayed.
public void setUsePreviewLabel(boolean useLabel)
- Specified by:
- setUsePreviewLabel in interface FileChooser
public void unselectFilename(String filename)
- Specified by:
- unselectFilename in interface FileChooser