public class MultiCompletor extends java.lang.Object implements Completor
ArgumentCompletor
, in that the nested completors
are dispatched individually, rather than delimited by arguments.Constructor and Description |
---|
MultiCompletor()
Construct a MultiCompletor with no embedded completors.
|
MultiCompletor(Completor[] completors)
Construct a MultiCompletor with the specified
Completor instances. |
MultiCompletor(java.util.List completors)
Construct a MultiCompletor with the specified list of
Completor instances. |
Modifier and Type | Method and Description |
---|---|
int |
complete(java.lang.String buffer,
int pos,
java.util.List cand,
int matchessofar)
Populates candidates with a list of possible
completions for the buffer.
|
Completor[] |
getCompletors() |
void |
setCompletors(Completor[] completors) |
public MultiCompletor()
public MultiCompletor(java.util.List completors)
Completor
instances.public int complete(java.lang.String buffer, int pos, java.util.List cand, int matchessofar)
Completor
List
before returning.public void setCompletors(Completor[] completors)
public Completor[] getCompletors()
Copyright (c) 2014 Cloud Software Group, Inc. All rights reserved.