public class AutoCompleterItem
extends java.lang.Object
Additional information such as comments, source terms, etc.
can be stored in extras
. The AutoCompleterListView
that created the AutoCompleterItem should know how to use these
values appropriately in its AutoCompleterListView.itemToString(AutoCompleterItem)
method.
Modifier and Type | Field and Description |
---|---|
int |
cursorAdjust |
java.lang.String[] |
extras |
boolean |
keepSelection |
java.lang.String |
payload |
int |
replacementLength |
Constructor and Description |
---|
AutoCompleterItem(java.lang.String payload,
java.lang.String[] extras,
int replacementLength) |
AutoCompleterItem(java.lang.String payload,
java.lang.String[] extras,
int cursorAdjust,
boolean keepSelection,
int replacementLength) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
public final java.lang.String payload
public final java.lang.String[] extras
public final int cursorAdjust
public final boolean keepSelection
public final int replacementLength