public static interface EntryCompletion.ActionActivated
In this way, you can do something different from the
EntryCompletion.MatchSelected
signal.
final EntryCompletion completion; ... completion.insertActionText(0, "complete"); completion.insertActionText(1, "another"); completion.connect(new EntryCompletion.ActionActivated() { public void onActionActivated(EntryCompletion source, int index) { System.out.println("Action " + index + " activated."); } });
Modifier and Type | Method and Description |
---|---|
void |
onActionActivated(EntryCompletion source,
int index)
The only two parameters give references to the EntryCompletion
source which has emitted the signal and the activated
action index . |
void onActionActivated(EntryCompletion source, int index)
source
which has emitted the signal and the activated
action index
.