|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.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
org.gnome.gtk.FileChooserButton
.
You should be aware that there is a considerably different API
in the new library: the architecture is completely different
and most notably internals are no longer exposed to public view.
public class FileChooserButton
Constructor Summary | |
---|---|
FileChooserButton(FileChooserDialog dialog)
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. |
|
FileChooserButton(org.gnu.glib.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. |
|
FileChooserButton(java.lang.String title,
FileChooserAction action)
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. |
|
FileChooserButton(java.lang.String title,
FileChooserAction action,
java.lang.String backend)
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. |
Method Summary | |
---|---|
void |
addFilter(FileFilter filter)
Deprecated. |
void |
addListener(FileChooserListener listener)
Deprecated. |
void |
addShortcutFolder(java.lang.String folder)
Deprecated. |
void |
addShortcutURI(java.lang.String uri)
Deprecated. |
FileChooserAction |
getAction()
Deprecated. |
java.lang.String |
getCurrentFolder()
Deprecated. |
java.lang.String |
getCurrentFolderURI()
Deprecated. |
Widget |
getExtraWidget()
Deprecated. |
static FileChooserButton |
getFileChooserButton(org.gnu.glib.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. |
java.lang.String |
getFilename()
Deprecated. |
java.lang.String[] |
getFilenames()
Deprecated. |
FileFilter |
getFilter()
Deprecated. |
boolean |
getLocalOnly()
Deprecated. |
java.lang.String |
getPreviewFilename()
Deprecated. |
java.lang.String |
getPreviewURI()
Deprecated. |
Widget |
getPreviewWidget()
Deprecated. |
boolean |
getPreviewWidgetActive()
Deprecated. |
boolean |
getSelectMultiple()
Deprecated. |
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. |
java.lang.String |
getTitle()
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. |
java.lang.String |
getURI()
Deprecated. |
java.lang.String[] |
getURIs()
Deprecated. |
boolean |
getUsePreviewLabel()
Deprecated. |
int |
getWidthChars()
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. |
FileFilter[] |
listFilters()
Deprecated. |
java.lang.String[] |
listShortcutFolders()
Deprecated. |
java.lang.String[] |
listShortcutURIs()
Deprecated. |
void |
removeFilter(FileFilter filter)
Deprecated. |
void |
removeListener(FileChooserListener listener)
Deprecated. |
void |
removeShortcutFolder(java.lang.String folder)
Deprecated. |
void |
removeShortcutURI(java.lang.String uri)
Deprecated. |
void |
selectAll()
Deprecated. |
boolean |
selectFilename(java.lang.String filename)
Deprecated. |
boolean |
selectURI(java.lang.String uri)
Deprecated. |
void |
setAction(FileChooserAction action)
Deprecated. |
boolean |
setCurrentFolder(java.lang.String folder)
Deprecated. |
boolean |
setCurrentFolderURI(java.lang.String folder)
Deprecated. |
void |
setCurrentName(java.lang.String name)
Deprecated. |
void |
setExtraWidget(Widget extraWidget)
Deprecated. |
boolean |
setFilename(java.lang.String filename)
Deprecated. |
void |
setFilter(FileFilter filter)
Deprecated. |
void |
setLocalOnly(boolean localOnly)
Deprecated. |
void |
setPreviewWidget(Widget previewWidget)
Deprecated. |
void |
setPreviewWidgetActive(boolean active)
Deprecated. |
void |
setSelectMultiple(boolean selectMultiple)
Deprecated. |
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. |
void |
setTitle(java.lang.String title)
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. |
boolean |
setURI(java.lang.String uri)
Deprecated. |
void |
setUsePreviewLabel(boolean useLabel)
Deprecated. |
void |
setWidthChars(int numChars)
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. |
void |
unselectAll()
Deprecated. |
void |
unselectFilename(java.lang.String filename)
Deprecated. |
void |
unselectURI(java.lang.String uri)
Deprecated. |
Methods inherited from class org.gnu.gtk.HBox |
---|
getHBox, getType |
Methods inherited from class org.gnu.gtk.Box |
---|
getHomogeneous, getSpacing, 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, remove, removeListener, resizeChildren, setBooleanChildProperty, setBorderWidth, setChildProperty, setIntChildProperty, setResizeMode |
Methods inherited from class org.gnu.gtk.GtkObject |
---|
destroy, sink |
Methods inherited from class org.gnu.glib.GObject |
---|
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setProperty, setStringProperty, thawNotify |
Methods inherited from class org.gnu.glib.Struct |
---|
equals, getHandle, getNullHandle, hashCode |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public FileChooserButton(org.gnu.glib.Handle handle)
public FileChooserButton(java.lang.String title, FileChooserAction action)
title
- the title of the browse dialogaction
- the open mode for the dialogpublic FileChooserButton(java.lang.String title, FileChooserAction action, java.lang.String backend)
title
- the title of the browse dialogaction
- the open mode for the dialogbackend
- the name of the FileSystem backend to usepublic FileChooserButton(FileChooserDialog dialog)
dialog
- Method Detail |
---|
public static FileChooserButton getFileChooserButton(org.gnu.glib.Handle handle)
public java.lang.String getTitle()
public void setTitle(java.lang.String title)
public int getWidthChars()
public void setWidthChars(int numChars)
public void setAction(FileChooserAction action)
setAction
in interface FileChooser
public FileChooserAction getAction()
getAction
in interface FileChooser
public void setLocalOnly(boolean localOnly)
setLocalOnly
in interface FileChooser
public boolean getLocalOnly()
getLocalOnly
in interface FileChooser
public void setSelectMultiple(boolean selectMultiple)
setSelectMultiple
in interface FileChooser
public boolean getSelectMultiple()
getSelectMultiple
in interface FileChooser
public void setCurrentName(java.lang.String name)
setCurrentName
in interface FileChooser
public java.lang.String getFilename()
getFilename
in interface FileChooser
public boolean setFilename(java.lang.String filename)
setFilename
in interface FileChooser
public boolean selectFilename(java.lang.String filename)
selectFilename
in interface FileChooser
public void unselectFilename(java.lang.String filename)
unselectFilename
in interface FileChooser
public void selectAll()
selectAll
in interface FileChooser
public void unselectAll()
unselectAll
in interface FileChooser
public java.lang.String[] getFilenames()
getFilenames
in interface FileChooser
public boolean setCurrentFolder(java.lang.String folder)
setCurrentFolder
in interface FileChooser
public java.lang.String getCurrentFolder()
getCurrentFolder
in interface FileChooser
public java.lang.String getURI()
getURI
in interface FileChooser
public boolean setURI(java.lang.String uri)
setURI
in interface FileChooser
public boolean selectURI(java.lang.String uri)
selectURI
in interface FileChooser
public void unselectURI(java.lang.String uri)
unselectURI
in interface FileChooser
public java.lang.String[] getURIs()
getURIs
in interface FileChooser
public boolean setCurrentFolderURI(java.lang.String folder)
setCurrentFolderURI
in interface FileChooser
public java.lang.String getCurrentFolderURI()
getCurrentFolderURI
in interface FileChooser
public void setPreviewWidget(Widget previewWidget)
setPreviewWidget
in interface FileChooser
public Widget getPreviewWidget()
getPreviewWidget
in interface FileChooser
public void setUsePreviewLabel(boolean useLabel)
setUsePreviewLabel
in interface FileChooser
public boolean getUsePreviewLabel()
getUsePreviewLabel
in interface FileChooser
public void setPreviewWidgetActive(boolean active)
setPreviewWidgetActive
in interface FileChooser
public boolean getPreviewWidgetActive()
getPreviewWidgetActive
in interface FileChooser
public java.lang.String getPreviewFilename()
getPreviewFilename
in interface FileChooser
public java.lang.String getPreviewURI()
getPreviewURI
in interface FileChooser
public void setExtraWidget(Widget extraWidget)
setExtraWidget
in interface FileChooser
public Widget getExtraWidget()
getExtraWidget
in interface FileChooser
public void addFilter(FileFilter filter)
addFilter
in interface FileChooser
public void removeFilter(FileFilter filter)
removeFilter
in interface FileChooser
public FileFilter[] listFilters()
listFilters
in interface FileChooser
public void setFilter(FileFilter filter)
setFilter
in interface FileChooser
public FileFilter getFilter()
getFilter
in interface FileChooser
public void addShortcutFolder(java.lang.String folder) throws FileChooserException
addShortcutFolder
in interface FileChooser
FileChooserException
public void removeShortcutFolder(java.lang.String folder) throws FileChooserException
removeShortcutFolder
in interface FileChooser
FileChooserException
public java.lang.String[] listShortcutFolders()
listShortcutFolders
in interface FileChooser
public void addShortcutURI(java.lang.String uri) throws FileChooserException
addShortcutURI
in interface FileChooser
FileChooserException
public void removeShortcutURI(java.lang.String uri) throws FileChooserException
removeShortcutURI
in interface FileChooser
FileChooserException
public java.lang.String[] listShortcutURIs()
listShortcutURIs
in interface FileChooser
public void setShowHidden(boolean hidden)
setShowHidden
in interface FileChooser
hidden
- true if hidden files and folders should be
displayed.public boolean getShowHidden()
getShowHidden
in interface FileChooser
public void addListener(FileChooserListener listener)
addListener
in interface FileChooser
public void removeListener(FileChooserListener listener)
removeListener
in interface FileChooser
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |