public class DictionaryCompleter extends Object
| Constructor and Description |
|---|
DictionaryCompleter(Dictionary dict)
Create a command completer for the given dictionary.
|
| Modifier and Type | Method and Description |
|---|---|
int |
complete(String buffer,
int index,
List<CharSequence> list)
Generate a list of possible command completions.
|
public DictionaryCompleter(Dictionary dict)
dict - public int complete(String buffer, int index, List<CharSequence> list)
buffer - The current content of the input lineindex - The index within the input line of the cursorlist - A list which this routine should fill with possible command
completions.Copyright © 2014 LSST. All Rights Reserved.