|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.gnu.glib.GObject | +--org.gnu.gtk.GtkObject | +--org.gnu.gtk.Widget | +--org.gnu.gtk.Container | +--org.gnu.gtk.Box | +--org.gnu.gtk.VBox | +--org.gnu.gnome.FileEntry
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.
Constructor Summary | |
FileEntry(int handle)
Construct a new FileEntry from a handle to a native resource. |
|
FileEntry(java.lang.String historyID,
java.lang.String browseDialogTitle)
Create a new FileEntry widget |
Method Summary | |
Entry |
getEntry()
Returns the Gnome Entry widget. |
java.lang.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(java.lang.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(java.lang.String browseDialogTitle)
Sets the title of the browse dialog. |
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, getBorderWidth, getEventListenerClass, getEventType, getResizeMode, remove, removeListener, resizeChildren, setBorderWidth, setResizeMode |
Methods inherited from class org.gnu.glib.GObject |
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, equals, getData, getHandle, removeEventHandler, setData |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FileEntry(java.lang.String historyID, java.lang.String browseDialogTitle)
public FileEntry(int handle)
Method Detail |
public Entry getEntry()
public void setTitle(java.lang.String browseDialogTitle)
public void setDefaultPath(java.lang.String path)
public void setDirectorySelection(boolean directoryEntry)
public java.lang.String getFullPath(boolean fileMustExist)
public void setModal(boolean isModal)
public boolean getModal()
public static Type getType()
|
Please send any bug reports, comments, or suggestions for the API or documentation to java-gnome-developer@lists.sf.net | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |