Prev Class | Next Class | Frames | No Frames |
Summary: Nested | Field | Method | Constr | Detail: Nested | Field | Method | Constr |
Struct
org.gnu.glib.GObject
org.gnu.gtk.GtkObject
org.gnu.gtk.Widget
org.gnu.gtk.Container
org.gnu.gtk.Box
org.gnu.gtk.HBox
org.gnu.gtk.FileChooserButton
Constructor Summary | |
| |
| |
| |
|
Method Summary | |
void |
|
void |
|
void |
|
void |
|
FileChooserAction | |
String | |
String | |
Widget | |
static FileChooserButton |
|
String | |
String[] | |
FileFilter | |
boolean | |
String | |
String | |
Widget | |
boolean | |
boolean | |
boolean |
|
String |
|
String |
|
String[] |
|
boolean | |
int |
|
FileFilter[] | |
String[] | |
String[] | |
void |
|
void |
|
void |
|
void |
|
void | |
boolean |
|
boolean |
|
void |
|
boolean |
|
boolean |
|
void |
|
void |
|
boolean |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
void |
|
boolean |
|
void |
|
void |
|
void | |
void |
|
void |
|
Methods inherited from class org.gnu.gtk.Box | |
getHomogeneous , getSpacing , getType , packEnd , packEnd , packStart , packStart , reorderChild , setHomogeneous , setSpacing |
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 FileChooserButton(Handle handle)
Construct a button using a handle to a native resource. It should only be used internally by Java-Gnome.
public FileChooserButton(String title, FileChooserAction action)
Create a new FileChooserButton
- Parameters:
title
- the title of the browse dialogaction
- the open mode for the dialog
public FileChooserButton(String title, FileChooserAction action, String backend)
Create a new FileChooserButton specifying the backend
- Parameters:
title
- the title of the browse dialogaction
- the open mode for the dialogbackend
- the name of the FileSystem backend to use
public FileChooserButton(FileChooserDialog dialog)
Create a new FileChooserButton which uses the specified dialog as its' file picking window.
- Parameters:
dialog
-
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 FileChooserButton getFileChooserButton(Handle handle)
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()
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 String getTitle()
Returns the title of the browse dialog.
public boolean getUsePreviewLabel()
- Specified by:
- getUsePreviewLabel in interface FileChooser
public int getWidthChars()
Retrieves the width in characters of the button widget's entry and/or label.
public String[] listShortcutFolders()
- Specified by:
- listShortcutFolders in interface FileChooser
public String[] listShortcutURIs()
- Specified by:
- listShortcutURIs in interface FileChooser
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)
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 setTitle(String title)
Modifies the title of the browse dialog.
public void setUsePreviewLabel(boolean useLabel)
- Specified by:
- setUsePreviewLabel in interface FileChooser
public void setWidthChars(int numChars)
Sets the width in characters that the button's label will use.
public void unselectFilename(String filename)
- Specified by:
- unselectFilename in interface FileChooser