|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface TextInputContentListener
Text input text listener.
| Nested Class Summary | |
|---|---|
static class |
TextInputContentListener.Adapter
Text input text listener adapter. |
| Method Summary | |
|---|---|
void |
insertTextVetoed(TextInput textInput,
Vote reason)
Called when a text insertion has been vetoed. |
Vote |
previewInsertText(TextInput textInput,
CharSequence text,
int index)
Called to preview a text insertion. |
Vote |
previewRemoveText(TextInput textInput,
int index,
int count)
Called to preview a text removal. |
void |
removeTextVetoed(TextInput textInput,
Vote reason)
Called when a text removal has been vetoed. |
void |
textChanged(TextInput textInput)
Called when a text input's text has changed. |
void |
textInserted(TextInput textInput,
int index,
int count)
Called when text has been inserted into a text input. |
void |
textRemoved(TextInput textInput,
int index,
int count)
Called when text has been removed from a text input. |
| Method Detail |
|---|
Vote previewInsertText(TextInput textInput,
CharSequence text,
int index)
textInput - The source of the event.text - The text that will be inserted.index - The index at which the text will be inserted.
void insertTextVetoed(TextInput textInput,
Vote reason)
textInput - The source of the event.reason - The reason the event was vetoed.
void textInserted(TextInput textInput,
int index,
int count)
textInput - The source of the event.index - The index at which the text was inserted.count - The number of characters that were inserted.
Vote previewRemoveText(TextInput textInput,
int index,
int count)
textInput - The source of the event.index - The starting index from which the text will be removed.
void removeTextVetoed(TextInput textInput,
Vote reason)
textInput - The source of the event.reason - The reason the event was vetoed.
void textRemoved(TextInput textInput,
int index,
int count)
textInput - The source of the event.index - The index from which the text was removed.count - The number of characters that were removed.void textChanged(TextInput textInput)
textInput - The source of the event.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||