org.gnu.gtk
public class EntryCompletion extends GObject
| 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.
|
See Also: EntryCompletionListener
Parameters: index
Parameters: index markup
Parameters: index text
See Also: addListener
Parameters: inlineCompletion
Parameters: length
Parameters: model
Parameters: popupCompletion
Parameters: column