org.gnu.gnome
public class Entry extends Combo
Deprecated: This class is part of the java-gnome 2.x family of libraries,
which, due to their inefficiency and complexity, are no longer
being maintained and have been abandoned by the java-gnome
project. This class may have an equivalent
in java-gnome 4.0; have a look for
org.gnome.gnome.Entry
.
See Also: org.gnu.gtk.Entry
Constructor Summary | |
---|---|
Entry(Handle handle)
Constructs an Entry object referencing an existing gnome Entry native
resource.
| |
Entry(String historyID)
Constructs a new Entry object.
|
Method Summary | |
---|---|
void | appendHistory(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. |
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(String text, boolean save)
Add a string to the beginning of the list.
|
void | setHistoryID(String historyID)
Sets the unique Id used by gnome to save and load history info. |
void | setMaxSaved(int maxSaved) |
Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Constructs an Entry object referencing an existing gnome Entry native resource.Parameters: handle The handle to the gnome Entry widget.
Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Constructs a new Entry object.Parameters: historyID The unique Id used by gnome to save and load history list info.
Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
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.
Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Clear the history list.Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Return the Gtk Entry for this widget.Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Gets the unique Id used by gnome to save and load history info.Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
Retrieve the runtime type used by the GLib library.Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
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.
Deprecated: Superceeded by java-gnome 4.0; this method may or may not exist in the new bindings but if it does, it will likely have a different name or signature in order that the presented API is a more algorithmic mapping of the underlying native libraries.
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.