org.gnu.gnome
Class FileEntry
public class FileEntry
extends VBox
This widget provides an entry box with history and a button which can pop up
a file selector dialog box. It also accepts DND drops from the filemanager
and other sources.
FileEntry(Handle handle) - Construct a new FileEntry from a handle to a native resource.
|
FileEntry(String historyID, String browseDialogTitle) - Create a new FileEntry widget
|
Entry | getEntry() - Returns the Gnome Entry widget.
|
String | getFullPath(boolean fileMustExist) - Gets the full absolute path of the file from the entry.
|
boolean | getModal() - Returns if the browse dialog is modal.
|
static Type | getType() - Retrieve the runtime type used by the GLib library.
|
void | setDefaultPath(String path) - Sets the default path for the browse dialog.
|
void | setDirectorySelection(boolean directoryEntry) - Sets whether this is a directory only entry.
|
void | setModal(boolean isModal) - Sets the modality of the browse dialog.
|
void | setTitle(String browseDialogTitle) - Sets the title of the browse dialog.
|
FileEntry
public FileEntry(Handle handle)
Construct a new FileEntry from a handle to a native resource.
FileEntry
public FileEntry(String historyID,
String browseDialogTitle)
Create a new FileEntry widget
getEntry
public Entry getEntry()
Returns the Gnome Entry widget.
getFullPath
public String getFullPath(boolean fileMustExist)
Gets the full absolute path of the file from the entry.
getModal
public boolean getModal()
Returns if the browse dialog is modal.
getType
public static Type getType()
Retrieve the runtime type used by the GLib library.
setDefaultPath
public void setDefaultPath(String path)
Sets the default path for the browse dialog.
setDirectorySelection
public void setDirectorySelection(boolean directoryEntry)
Sets whether this is a directory only entry.
setModal
public void setModal(boolean isModal)
Sets the modality of the browse dialog.
setTitle
public void setTitle(String browseDialogTitle)
Sets the title of the browse dialog.