org.gnu.gtk
public class EntryCompletion extends GObject
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 in the future have an equivalent in
java-gnome 4.0, try looking for
org.gnome.gtk.EntryCompletion
.
You should be aware that there is a considerably different API
in the new library: the architecture is completely different
and most notably internals are no longer exposed to public view.
Constructor Summary | |
---|---|
EntryCompletion()
Creates a new EntryCompletion object. | |
EntryCompletion(Handle nativeHandle) |
Method Summary | |
---|---|
void | addListener(EntryCompletionListener listener)
Register an object to handle dialog events.
|
void | complete()
Requests a completion operation, or in other words a refiltering of the
current list with completions, using the current key. |
void | deleteAction(int index)
Remove an action for the EntryCompletions action list.
|
Entry | getEntry()
Returns the Entry this completion is attached to. |
static EntryCompletion | getEntryCompletion(Handle handle)
Internal static factory method to be used by Java-Gnome only. |
Class | getEventListenerClass(String signal) |
EventType | getEventType(String signal) |
boolean | getInlineCompletion()
Returns whether the common prefix of the possible completion should be
automatically inserted into the entry. |
int | getMinimumKeyLength()
Returns the minimum key length as set for completion. |
TreeModel | getModel()
Returns the model that the EntryCompletion is using as a data source. |
boolean | getPopupCompletion()
Returns whether the completion should be presented in a popup window. |
boolean | getPopupSetWidth() |
int | getTextColumn()
Returns the column in the model of completion to get strings from. |
void | insertActionMarkup(int index, String markup)
Inserts an action in the EntryCompletion's action list with the position
and text provided. |
void | insertActionText(int index, String text)
Inserts an action in the EntryCompletion's action list with the position
and text provided. |
void | insertPrefix()
Request a prefix insertion. |
void | removeListener(EntryCompletionListener listener)
Removes a listener
|
void | setInlineCompletion(boolean inlineCompletion)
Sets whether the common prefix of the possible completion should be
automatically inserted into the entry.
|
void | setMinimumKeyLength(int length)
Requires the length of the search key for the EntryCompletion to be at
least length. |
void | setModel(TreeModel model)
Sets the model for this EntryCompletion. |
void | setPopupCompletion(boolean popupCompletion)
Sets whether the completion should be presented in a popup window.
|
void | setPopupSetWidth(boolean setWidth) |
void | setTextColumn(int column)
Specify which column in the model to use to display the strings.
|
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Creates a new EntryCompletion object.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Register an object to handle dialog events.See Also: EntryCompletionListener
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Requests a completion operation, or in other words a refiltering of the current list with completions, using the current key.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Remove an action for the EntryCompletions action list.Parameters: index
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Returns the Entry this completion is attached to.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Internal static factory method to be used by Java-Gnome only.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Returns whether the common prefix of the possible completion should be automatically inserted into the entry.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Returns the minimum key length as set for completion.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Returns the model that the EntryCompletion is using as a data source.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Returns whether the completion should be presented in a popup window.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Returns the column in the model of completion to get strings from.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Inserts an action in the EntryCompletion's action list with the position and text provided. If this item is selected an event will be triggered of type ACTION_ACTIVATED. You can get the index value from the EntryCompletionEvent object.Parameters: index markup
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Inserts an action in the EntryCompletion's action list with the position and text provided. If this item is selected an event will be triggered of type ACTION_ACTIVATED. You can get the index value from the EntryCompletionEvent object.Parameters: index text
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Request a prefix insertion.Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Removes a listenerSee Also: addListener
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets whether the common prefix of the possible completion should be automatically inserted into the entry.Parameters: inlineCompletion
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Requires the length of the search key for the EntryCompletion to be at least length. This is useful for long lists where completing using a small key takes a lot of time and will come up with meaningless results.Parameters: length
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets the model for this EntryCompletion. If there is already a model set it will remove it before setting the new mode.Parameters: model
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Sets whether the completion should be presented in a popup window.Parameters: popupCompletion
Deprecated: Superceeded by java-gnome 4.0; a method along these lines may well exist in the new bindings, but if it does it likely has a different name or signature due to the shift to an algorithmic mapping of the underlying native libraries.
Specify which column in the model to use to display the strings.Parameters: column