|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectandroid.widget.MultiAutoCompleteTextView.CommaTokenizer
public static class MultiAutoCompleteTextView.CommaTokenizer
This simple Tokenizer can be used for lists where the items are separated by a comma and one or more spaces.
| Constructor Summary | |
|---|---|
MultiAutoCompleteTextView.CommaTokenizer()
|
|
| Method Summary | |
|---|---|
int |
findTokenEnd(CharSequence text,
int cursor)
Returns the end of the token (minus trailing punctuation) that begins at offset cursor within text. |
int |
findTokenStart(CharSequence text,
int cursor)
Returns the start of the token that ends at offset cursor within text. |
CharSequence |
terminateToken(CharSequence text)
Returns text, modified, if necessary, to ensure that
it ends with a token terminator (for example a space or comma). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MultiAutoCompleteTextView.CommaTokenizer()
| Method Detail |
|---|
public int findTokenStart(CharSequence text,
int cursor)
MultiAutoCompleteTextView.Tokenizercursor within text.
findTokenStart in interface MultiAutoCompleteTextView.Tokenizer
public int findTokenEnd(CharSequence text,
int cursor)
MultiAutoCompleteTextView.Tokenizercursor within text.
findTokenEnd in interface MultiAutoCompleteTextView.Tokenizerpublic CharSequence terminateToken(CharSequence text)
MultiAutoCompleteTextView.Tokenizertext, modified, if necessary, to ensure that
it ends with a token terminator (for example a space or comma).
terminateToken in interface MultiAutoCompleteTextView.Tokenizer
|
Build 1.0_r1(from source) | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||