public abstract class DefaultTextCompletionValueDescriptor<T> extends java.lang.Object implements TextCompletionValueDescriptor<T>
Modifier and Type | Class and Description |
---|---|
static class |
DefaultTextCompletionValueDescriptor.StringValueDescriptor |
Constructor and Description |
---|
DefaultTextCompletionValueDescriptor() |
Modifier and Type | Method and Description |
---|---|
int |
compare(T item1,
T item2) |
protected InsertHandler<LookupElement> |
createInsertHandler(T item) |
LookupElementBuilder |
createLookupBuilder(T item) |
protected javax.swing.Icon |
getIcon(T item) |
protected abstract java.lang.String |
getLookupString(T item) |
protected java.lang.String |
getTailText(T item) |
protected java.lang.String |
getTypeText(T item) |
public DefaultTextCompletionValueDescriptor()
protected abstract java.lang.String getLookupString(T item)
protected javax.swing.Icon getIcon(T item)
protected java.lang.String getTailText(T item)
protected java.lang.String getTypeText(T item)
protected InsertHandler<LookupElement> createInsertHandler(T item)
public int compare(T item1, T item2)
compare
in interface java.util.Comparator<T>
public LookupElementBuilder createLookupBuilder(T item)
createLookupBuilder
in interface TextCompletionValueDescriptor<T>