org.gnu.gnome
Class Entry

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.HBox
                          extended byorg.gnu.gtk.Combo
                              extended byorg.gnu.gnome.Entry

public class Entry
extends org.gnu.gtk.Combo

The Entry widget accepts user input - once accepted, the entry is included in the history of items previously entered. You can save this history information so it can be restored the next time the widget appears.


Constructor Summary
Entry(org.gnu.glib.Handle handle)
          Deprecated. Constructs an Entry object referencing an existing gnome Entry native resource.
Entry(java.lang.String historyID)
          Deprecated. Constructs a new Entry object.
 
Method Summary
 void appendHistory(java.lang.String text, boolean save)
          Deprecated. Add a string to the end of the list.
 void clearHistory()
          Deprecated. Clear the history list.
 org.gnu.gtk.Entry getEntry()
          Deprecated. Return the Gtk Entry for this widget.
 java.lang.String getHistoryID()
          Deprecated. Gets the unique Id used by gnome to save and load history info.
 int getMaxSaved()
          Deprecated.  
static org.gnu.glib.Type getType()
          Deprecated. Retrieve the runtime type used by the GLib library.
 void prependHistory(java.lang.String text, boolean save)
          Deprecated. Add a string to the beginning of the list.
 void setHistoryID(java.lang.String historyID)
          Deprecated. Sets the unique Id used by gnome to save and load history info.
 void setMaxSaved(int maxSaved)
          Deprecated.  
 
Methods inherited from class org.gnu.gtk.Combo
disableActivate, getText, setCaseSensitive, setItemString, setPopupdownStrings, setUseArrorwsAlways, setUseArrows, setValueInList
 
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

Entry

public Entry(org.gnu.glib.Handle handle)
Deprecated. 
Constructs an Entry object referencing an existing gnome Entry native resource.

Parameters:
handle - The handle to the gnome Entry widget.

Entry

public Entry(java.lang.String historyID)
Deprecated. 
Constructs a new Entry object.

Parameters:
historyID - The unique Id used by gnome to save and load history list info.
Method Detail

appendHistory

public void appendHistory(java.lang.String text,
                          boolean save)
Deprecated. 
Add a string to the end of the list.

Parameters:
text - The string to append.
save - If true, the list will be saved to history after the append.

clearHistory

public void clearHistory()
Deprecated. 
Clear the history list.


getHistoryID

public java.lang.String getHistoryID()
Deprecated. 
Gets the unique Id used by gnome to save and load history info.


getMaxSaved

public int getMaxSaved()
Deprecated. 

prependHistory

public void prependHistory(java.lang.String text,
                           boolean save)
Deprecated. 
Add a string to the beginning of the list.

Parameters:
text - The string to prepend.
save - If true, the list will be saved to history after the prepend.

setHistoryID

public void setHistoryID(java.lang.String historyID)
Deprecated. 
Sets the unique Id used by gnome to save and load history info. This is usefull if you want to save and load history lists interactively. No no need to create a new control with the appropriate historyID, just change it.


setMaxSaved

public void setMaxSaved(int maxSaved)
Deprecated. 

getEntry

public org.gnu.gtk.Entry getEntry()
Deprecated. 
Return the Gtk Entry for this widget.


getType

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