|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.gnu.glib.Struct
org.gnu.glib.GObject
org.gnu.gtk.GtkObject
org.gnu.gtk.Widget
org.gnu.gtk.Container
org.gnu.gtk.Box
org.gnu.gtk.HBox
org.gnu.gtk.Combo
org.gnu.gnome.Entry
public class Entry
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.
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, getBooleanChildProperty, getBorderWidth, getChildProperty, getChildren, getEventListenerClass, getEventType, getIntChildProperty, getResizeMode, remove, removeListener, resizeChildren, setBooleanChildProperty, setBorderWidth, setChildProperty, setIntChildProperty, 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, getAllocation, getCanFocus, 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, setCanFocus, 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, 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 |
---|
public Entry(org.gnu.glib.Handle handle)
handle
- The handle to the gnome Entry widget.public Entry(java.lang.String historyID)
historyID
- The unique Id used by gnome to save and load history list
info.Method Detail |
---|
public void appendHistory(java.lang.String text, boolean save)
text
- The string to append.save
- If true, the list will be saved to history after the append.public void clearHistory()
public java.lang.String getHistoryID()
public int getMaxSaved()
public void prependHistory(java.lang.String text, boolean save)
text
- The string to prepend.save
- If true, the list will be saved to history after the prepend.public void setHistoryID(java.lang.String historyID)
public void setMaxSaved(int maxSaved)
public org.gnu.gtk.Entry getEntry()
getEntry
in class org.gnu.gtk.Combo
public static org.gnu.glib.Type getType()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |