|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.pivot.wtk.TextInputContentListener.Adapter
public static class TextInputContentListener.Adapter
Text input text listener adapter.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.apache.pivot.wtk.TextInputContentListener |
|---|
TextInputContentListener.Adapter |
| Constructor Summary | |
|---|---|
TextInputContentListener.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TextInputContentListener.Adapter()
| Method Detail |
|---|
public Vote previewInsertText(TextInput textInput,
CharSequence text,
int index)
TextInputContentListener
previewInsertText in interface TextInputContentListenertextInput - The source of the event.text - The text that will be inserted.index - The index at which the text will be inserted.
public void insertTextVetoed(TextInput textInput,
Vote reason)
TextInputContentListener
insertTextVetoed in interface TextInputContentListenertextInput - The source of the event.reason - The reason the event was vetoed.
public void textInserted(TextInput textInput,
int index,
int count)
TextInputContentListener
textInserted in interface TextInputContentListenertextInput - The source of the event.index - The index at which the text was inserted.count - The number of characters that were inserted.
public Vote previewRemoveText(TextInput textInput,
int index,
int count)
TextInputContentListener
previewRemoveText in interface TextInputContentListenertextInput - The source of the event.index - The starting index from which the text will be removed.
public void removeTextVetoed(TextInput textInput,
Vote reason)
TextInputContentListener
removeTextVetoed in interface TextInputContentListenertextInput - The source of the event.reason - The reason the event was vetoed.
public void textRemoved(TextInput textInput,
int index,
int count)
TextInputContentListener
textRemoved in interface TextInputContentListenertextInput - The source of the event.index - The index from which the text was removed.count - The number of characters that were removed.public void textChanged(TextInput textInput)
TextInputContentListener
textChanged in interface TextInputContentListenertextInput - The source of the event.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||