|
java-gnome version 4.0.19 | ||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public static interface EntryCompletion.CursorOnMatch
Emitted when the cursor is on a completion string without select it.
The default behavior is to make the entry display the contents of the
row column pointed by iter
.
final DataColumnString column; final EntryCompletion completion; ... completion.connect(new CursorOnMatch.InsertPrefix() { public boolean onCursorOnMatch(EntryCompletion source, TreeModel model, TreeIter iter) { final Entry entry; final String content; entry = source.getEntry(); content = model.getValue(iter, column); entry.setText(content); return true; } });
Method Summary | |
---|---|
boolean |
onCursorOnMatch(EntryCompletion source,
TreeModel model,
TreeIter iter)
The useful parameters are model and iter
which will make you able to get the value of the selected
completion using the TreeModel's
getValue()
method. |
Method Detail |
---|
boolean onCursorOnMatch(EntryCompletion source, TreeModel model, TreeIter iter)
model
and iter
which will make you able to get the value of the selected
completion using the TreeModel's
getValue()
method.
|
![]() java-gnome |
||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |