public interface NameSource
NameSource is the lightest weight mechanism for sources which wish to support name completion. In the future it might be better for NameSpace to implement NameCompletion directly in a more native and efficient fasion. However in general name competion is used for human interaction and therefore does not require high performance.
| 限定符和类型 | 接口 | 说明 |
|---|---|---|
static interface |
NameSource.Listener |
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
void |
addNameSourceListener(NameSource.Listener listener) |
|
String[] |
getAllNames() |
String[] getAllNames()
void addNameSourceListener(NameSource.Listener listener)
Copyright © 2019. All rights reserved.