org.gnu.gnome
Class FileEntry

java.lang.Object
  extended byorg.gnu.glib.GObject
      extended byorg.gnu.gtk.GtkObject
          extended byorg.gnu.gtk.Widget
              extended byorg.gnu.gtk.Container
                  extended byorg.gnu.gtk.Box
                      extended byorg.gnu.gtk.VBox
                          extended byorg.gnu.gnome.FileEntry
Direct Known Subclasses:
PixmapEntry

public class FileEntry
extends org.gnu.gtk.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.


Constructor Summary
FileEntry(org.gnu.glib.Handle handle)
          Deprecated. Construct a new FileEntry from a handle to a native resource.
FileEntry(java.lang.String historyID, java.lang.String browseDialogTitle)
          Deprecated. Create a new FileEntry widget
 
Method Summary
 Entry getEntry()
          Deprecated. Returns the Gnome Entry widget.
 java.lang.String getFullPath(boolean fileMustExist)
          Deprecated. Gets the full absolute path of the file from the entry.
 boolean getModal()
          Deprecated. Returns if the browse dialog is modal.
static org.gnu.glib.Type getType()
          Deprecated. Retrieve the runtime type used by the GLib library.
 void setDefaultPath(java.lang.String path)
          Deprecated. Sets the default path for the browse dialog.
 void setDirectorySelection(boolean directoryEntry)
          Deprecated. Sets whether this is a directory only entry.
 void setModal(boolean isModal)
          Deprecated. Sets the modality of the browse dialog.
 void setTitle(java.lang.String browseDialogTitle)
          Deprecated. 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, getChildren, getEventListenerClass, getEventType, getResizeMode, remove, removeListener, resizeChildren, setBorderWidth, setResizeMode
 
Methods inherited from class org.gnu.gtk.Widget
activate, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, canActivateAccel, createContext, createLayout, destroy, draw, drawArea, drawArea, finish, getAccessible, getColormap, getContext, getData, getDisplay, getModifierStyle, getName, getParent, getParentWindow, getPointer, getRootWindow, getScreen, getSensitive, getStyle, getToplevel, getWindow, grabDefault, grabFocus, hasFocus, hasScreen, hide, hideAll, highlight, intersect, isAncestor, makeWidget, modifyStyle, popColormap, pushColormap, realize, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, reparent, setBackgroundColor, setBaseColor, setColormap, setDoubleBuffered, setDragDestination, setDragIcon, setDragIconPixbuf, setDragIconStock, setDragSource, setFont, setForegroundColor, setMinimumSize, setName, setNoDragDestination, setNoDragSource, setSensitive, setTextColor, shapeCombineMask, show, showAll, unHighlight
 
Methods inherited from class org.gnu.gtk.GtkObject
sink
 
Methods inherited from class org.gnu.glib.GObject
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, equals, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getFloatProperty, getGObjectFromHandle, getHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getNullHandle, getPixbufProperty, getProperty, getStringProperty, hashCode, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setPixbufProperty, setProperty, setStringProperty, thawNotify
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileEntry

public FileEntry(java.lang.String historyID,
                 java.lang.String browseDialogTitle)
Deprecated. 
Create a new FileEntry widget


FileEntry

public FileEntry(org.gnu.glib.Handle handle)
Deprecated. 
Construct a new FileEntry from a handle to a native resource.

Method Detail

getEntry

public Entry getEntry()
Deprecated. 
Returns the Gnome Entry widget.


setTitle

public void setTitle(java.lang.String browseDialogTitle)
Deprecated. 
Sets the title of the browse dialog.


setDefaultPath

public void setDefaultPath(java.lang.String path)
Deprecated. 
Sets the default path for the browse dialog.


setDirectorySelection

public void setDirectorySelection(boolean directoryEntry)
Deprecated. 
Sets whether this is a directory only entry.


getFullPath

public java.lang.String getFullPath(boolean fileMustExist)
Deprecated. 
Gets the full absolute path of the file from the entry.


setModal

public void setModal(boolean isModal)
Deprecated. 
Sets the modality of the browse dialog.


getModal

public boolean getModal()
Deprecated. 
Returns if the browse dialog is modal.


getType

public static org.gnu.glib.Type getType()
Deprecated. 
Retrieve the runtime type used by the GLib library.