org.gnu.gnome
Class Entry

java.lang.Object
  extended byorg.gnu.glib.Struct
      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.

See Also:
Entry

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.HBox
getHBox
 
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, addAccelerator, addEvents, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, addListener, canActivateAccel, createContext, createLayout, draw, drawArea, drawArea, finish, getAccessible, getColormap, getContext, getData, getDisplay, getDragData, getExtensionEvents, getModifierStyle, getName, getParent, getParentWindow, getPointer, getRootWindow, getScreen, getSensitive, getStyle, getToplevel, getWidget, getWindow, grabDefault, grabFocus, hasFocus, hasScreen, hide, hideAll, highlight, highlight, intersect, isAncestor, makeWidget, modifyStyle, popColormap, pushColormap, realize, removeAccelerator, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, removeListener, reparent, setBackgroundColor, setBaseColor, setColormap, setDoubleBuffered, setDragDestination, setDragIcon, setDragIconPixbuf, setDragIconStock, setDragSource, setEvents, setExtensionEvents, setFont, setForegroundColor, setMinimumSize, setName, setNoDragDestination, setNoDragSource, setSensitive, setTextColor, shapeCombineMask, show, showAll, unHighlight, unHighlight
 
Methods inherited from class org.gnu.gtk.GtkObject
destroy, sink
 
Methods inherited from class org.gnu.glib.GObject
addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addEventHandler, addListener, collect, freezeNotify, getBooleanProperty, getData, getDoubleProperty, getFloatProperty, getGObjectFromHandle, getIntProperty, getJavaObjectProperty, getLongProperty, getPixbufProperty, getProperty, getStringProperty, hasProperty, notify, removeEventHandler, removeListener, setBooleanProperty, setData, setDoubleProperty, setFloatProperty, setIntProperty, setJavaObjectProperty, setLongProperty, setPixbufProperty, 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

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.