org.solovyev.android.keyboard
Class AKeyboardViewWithSuggestionsImpl<K extends AKeyboard,KV extends android.view.View & AndroidKeyboardView<K>>

java.lang.Object
  extended by org.solovyev.android.keyboard.AKeyboardViewImpl<K,KV>
      extended by org.solovyev.android.keyboard.AKeyboardViewWithSuggestionsImpl<K,KV>
All Implemented Interfaces:
AKeyboardView<K>, AKeyboardViewWithSuggestions<K>

public class AKeyboardViewWithSuggestionsImpl<K extends AKeyboard,KV extends android.view.View & AndroidKeyboardView<K>>
extends AKeyboardViewImpl<K,KV>
implements AKeyboardViewWithSuggestions<K>

User: serso Date: 11/1/12 Time: 10:04 PM


Constructor Summary
AKeyboardViewWithSuggestionsImpl(int keyboardLayoutResId, AKeyboardController keyboardController, android.inputmethodservice.InputMethodService inputMethodService)
           
 
Method Summary
 void clearCandidateView()
           
 List<android.view.inputmethod.CompletionInfo> getCompletions()
           
 android.view.View onCreateCandidatesView()
           
 void setCompletions(List<android.view.inputmethod.CompletionInfo> completions)
           
 void setSubtypeOnSpaceKey(android.view.inputmethod.InputMethodSubtype subtype)
           
 void setSuggestions(List<String> suggestions, boolean completions, boolean typedWordValid)
           
 
Methods inherited from class org.solovyev.android.keyboard.AKeyboardViewImpl
close, createAndroidKeyboardView, dismiss, getAndroidKeyboardView, getInputMethodService, getKeyboardActionListener, getKeyboardController, isExtractViewShown, reloadAndroidKeyboardView, setCandidatesViewShown, setKeyboard, setOnKeyboardActionListener
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.solovyev.android.keyboard.AKeyboardViewWithSuggestions
setCandidatesViewShown
 
Methods inherited from interface org.solovyev.android.keyboard.AKeyboardView
close, createAndroidKeyboardView, dismiss, getAndroidKeyboardView, isExtractViewShown, reloadAndroidKeyboardView, setKeyboard, setOnKeyboardActionListener
 

Constructor Detail

AKeyboardViewWithSuggestionsImpl

public AKeyboardViewWithSuggestionsImpl(int keyboardLayoutResId,
                                        @Nonnull
                                        AKeyboardController keyboardController,
                                        @Nonnull
                                        android.inputmethodservice.InputMethodService inputMethodService)
Method Detail

setSubtypeOnSpaceKey

public void setSubtypeOnSpaceKey(@Nonnull
                                 android.view.inputmethod.InputMethodSubtype subtype)
Specified by:
setSubtypeOnSpaceKey in interface AKeyboardView<K extends AKeyboard>
Overrides:
setSubtypeOnSpaceKey in class AKeyboardViewImpl<K extends AKeyboard,KV extends android.view.View & AndroidKeyboardView<K>>

setSuggestions

public void setSuggestions(@Nonnull
                           List<String> suggestions,
                           boolean completions,
                           boolean typedWordValid)
Specified by:
setSuggestions in interface AKeyboardViewWithSuggestions<K extends AKeyboard>

setCompletions

public void setCompletions(@Nonnull
                           List<android.view.inputmethod.CompletionInfo> completions)
Specified by:
setCompletions in interface AKeyboardViewWithSuggestions<K extends AKeyboard>

getCompletions

@Nonnull
public List<android.view.inputmethod.CompletionInfo> getCompletions()
Specified by:
getCompletions in interface AKeyboardViewWithSuggestions<K extends AKeyboard>

clearCandidateView

public void clearCandidateView()
Specified by:
clearCandidateView in interface AKeyboardViewWithSuggestions<K extends AKeyboard>

onCreateCandidatesView

public android.view.View onCreateCandidatesView()
Specified by:
onCreateCandidatesView in interface AKeyboardViewWithSuggestions<K extends AKeyboard>


Copyright © 2013. All Rights Reserved.