public class AutocompleteHelper
extends java.lang.Object
Constructor and Description |
---|
AutocompleteHelper() |
Modifier and Type | Method and Description |
---|---|
void |
addAutocompleteNamesForToken(int tokendNr,
java.util.List<java.lang.String> autocompleteNames) |
void |
addAutocompleteNamesForToken(int tokendNr,
java.lang.String autocompleteName) |
void |
addCmdResultEntry(java.lang.String entry) |
void |
addObjectResultEntry(java.lang.String entry) |
void |
addResultEntry(java.lang.String entry) |
void |
autocompleteBaseCommand(java.lang.String baseCommand) |
int |
getCursorPosition() |
CommandParser |
getParser() |
AutocompleteResult |
getResult() |
void |
init(CommandParser parser,
int cursorPosition) |
public void init(CommandParser parser, int cursorPosition)
public CommandParser getParser()
public int getCursorPosition()
public void addResultEntry(java.lang.String entry)
public void addObjectResultEntry(java.lang.String entry)
public void addCmdResultEntry(java.lang.String entry)
public AutocompleteResult getResult()
public void autocompleteBaseCommand(java.lang.String baseCommand)
public void addAutocompleteNamesForToken(int tokendNr, java.lang.String autocompleteName)
public void addAutocompleteNamesForToken(int tokendNr, java.util.List<java.lang.String> autocompleteNames)