|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.solovyev.android.keyboard.AbstractKeyboardController<K>
org.solovyev.android.keyboard.AbstractAndroidKeyboardController<K>
public abstract class AbstractAndroidKeyboardController<K extends AKeyboard>
User: serso Date: 11/3/12 Time: 1:11 PM
| Field Summary |
|---|
| Fields inherited from class org.solovyev.android.keyboard.AbstractKeyboardController |
|---|
KEYCODE_CLEAR, KEYCODE_COPY, KEYCODE_CURSOR_LEFT, KEYCODE_CURSOR_RIGHT, KEYCODE_ENTER, KEYCODE_NEXT_KEYBOARD, KEYCODE_PASTE, KEYCODE_PREV_KEYBOARD, KEYCODE_REDO, KEYCODE_UNDO |
| Constructor Summary | |
|---|---|
AbstractAndroidKeyboardController()
|
|
| Method Summary | |
|---|---|
protected abstract AKeyboardViewWithSuggestions<K> |
createKeyboardView0(android.content.Context context)
|
AKeyboardViewWithSuggestions<K> |
getKeyboardView()
|
boolean |
handleBackspace()
|
void |
handleClose()
|
android.view.View |
onCreateCandidatesView()
Called by the framework when your view for showing candidates needs to be generated, like AKeyboardController.createKeyboardView(android.content.Context, android.view.LayoutInflater). |
void |
onDisplayCompletions(android.view.inputmethod.CompletionInfo[] completions)
This tells us about completions that the editor has determined based on the current text in it. |
void |
onFinishInput()
This is called when the user is done editing a field. |
void |
onStartInput(android.view.inputmethod.EditorInfo attribute,
boolean restarting)
This is the main point where we do our initialization of the input method to begin operating on an application. |
void |
pickSuggestionManually(int index)
|
void |
setSuggestions(List<String> suggestions,
boolean completions,
boolean typedWordValid)
|
protected void |
updateCandidates()
Update the list of available candidates from the current composing text. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AbstractAndroidKeyboardController()
| Method Detail |
|---|
public void onStartInput(@Nonnull
android.view.inputmethod.EditorInfo attribute,
boolean restarting)
AKeyboardController
onStartInput in interface AKeyboardControlleronStartInput in class AbstractKeyboardController<K extends AKeyboard>@Nonnull public AKeyboardViewWithSuggestions<K> getKeyboardView()
getKeyboardView in class AbstractKeyboardController<K extends AKeyboard>public void onFinishInput()
AKeyboardController
onFinishInput in interface AKeyboardControlleronFinishInput in class AbstractKeyboardController<K extends AKeyboard>public boolean handleBackspace()
handleBackspace in interface AKeyboardControllerhandleBackspace in class AbstractKeyboardController<K extends AKeyboard>
@Nonnull
protected abstract AKeyboardViewWithSuggestions<K> createKeyboardView0(@Nonnull
android.content.Context context)
createKeyboardView0 in class AbstractKeyboardController<K extends AKeyboard>
public void setSuggestions(@Nonnull
List<String> suggestions,
boolean completions,
boolean typedWordValid)
public void onDisplayCompletions(@Nullable
android.view.inputmethod.CompletionInfo[] completions)
AKeyboardController
onDisplayCompletions in interface AKeyboardControlleronDisplayCompletions in class AbstractKeyboardController<K extends AKeyboard>protected void updateCandidates()
updateCandidates in class AbstractKeyboardController<K extends AKeyboard>public void handleClose()
handleClose in interface AKeyboardControllerhandleClose in class AbstractKeyboardController<K extends AKeyboard>public void pickSuggestionManually(int index)
pickSuggestionManually in interface AKeyboardControllerpickSuggestionManually in class AbstractKeyboardController<K extends AKeyboard>public android.view.View onCreateCandidatesView()
AKeyboardControllerAKeyboardController.createKeyboardView(android.content.Context, android.view.LayoutInflater).
onCreateCandidatesView in interface AKeyboardControlleronCreateCandidatesView in class AbstractKeyboardController<K extends AKeyboard>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||