|
Groovy 2.2.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Object org.codehaus.groovy.tools.shell.util.SimpleCompletor
class SimpleCompletor
Support for simple completors.
Property Summary | |
---|---|
SortedSet |
candidates
|
String |
delimiter
A delimiter to use to qualify completions. |
Constructor Summary | |
SimpleCompletor(String[] candidates)
|
|
SimpleCompletor()
|
|
SimpleCompletor(Closure loader)
|
Method Summary | |
---|---|
void
|
add(String candidate)
|
void
|
addCandidateString(String string)
|
int
|
complete(String buffer, int cursor, List clist)
|
SortedSet
|
getCandidates()
|
Object
|
leftShift(String s)
|
void
|
setCandidateStrings(String[] strings)
|
void
|
setCandidates(SortedSet candidates)
|
Methods inherited from class Object | |
---|---|
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Property Detail |
---|
SortedSet candidates
String delimiter
Constructor Detail |
---|
SimpleCompletor(String[] candidates)
SimpleCompletor()
SimpleCompletor(Closure loader)
Method Detail |
---|
void add(String candidate)
void addCandidateString(String string)
int complete(String buffer, int cursor, List clist)
SortedSet getCandidates()
Object leftShift(String s)
void setCandidateStrings(String[] strings)
void setCandidates(SortedSet candidates)
Copyright © 2003-2013 The Codehaus. All rights reserved.