|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jline.MultiCompletor
A completor that contains multiple embedded completors. This differs
from the ArgumentCompletor
, in that the nested completors
are dispatched individually, rather than delimited by arguments.
Constructor Summary | |
MultiCompletor()
Construct a MultiCompletor with no embedded completors. |
|
MultiCompletor(Completor[] completors)
Construct a MultiCompletor with the specified Completor instances. |
|
MultiCompletor(List completors)
Construct a MultiCompletor with the specified list of Completor instances. |
Method Summary | |
int |
complete(String buffer,
int pos,
List cand)
Populates candidates with a list of possible completions for the buffer. |
Completor[] |
getCompletors()
|
void |
setCompletors(Completor[] completors)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public MultiCompletor()
public MultiCompletor(List completors)
Completor
instances.
public MultiCompletor(Completor[] completors)
Completor
instances.
Method Detail |
public int complete(String buffer, int pos, List cand)
Completor
List
before returning.
complete
in interface Completor
buffer
- the buffercand
- the List
of candidates to populate
public void setCompletors(Completor[] completors)
public Completor[] getCompletors()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |