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