org.solovyev.android.keyboard
Class DefaultKeyboardInput
java.lang.Object
org.solovyev.android.keyboard.DefaultKeyboardInput
- All Implemented Interfaces:
- AKeyboardInput
public class DefaultKeyboardInput
- extends Object
- implements AKeyboardInput
User: Solovyev_S
Date: 02.11.12
Time: 12:24
|
Constructor Summary |
DefaultKeyboardInput(android.inputmethodservice.InputMethodService inputMethodService)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MAX_INT
public static final int MAX_INT
- See Also:
- Constant Field Values
DefaultKeyboardInput
public DefaultKeyboardInput(@Nonnull
android.inputmethodservice.InputMethodService inputMethodService)
commitTyped
public void commitTyped()
- Specified by:
commitTyped in interface AKeyboardInput
onText
public void onText(@Nullable
CharSequence text)
- Specified by:
onText in interface AKeyboardInput
commitText
public void commitText(@Nullable
CharSequence text,
int position)
commitText
public void commitText(@Nullable
String text,
int position)
- Specified by:
commitText in interface AKeyboardInput
getCurrentInputEditorInfo
@Nonnull
public android.view.inputmethod.EditorInfo getCurrentInputEditorInfo()
- Specified by:
getCurrentInputEditorInfo in interface AKeyboardInput
getTypedText
public CharSequence getTypedText()
- Specified by:
getTypedText in interface AKeyboardInput
clearTypedText
public void clearTypedText()
- Specified by:
clearTypedText in interface AKeyboardInput
undo
public void undo()
- Specified by:
undo in interface AKeyboardInput
redo
public void redo()
- Specified by:
redo in interface AKeyboardInput
handleBackspace
public boolean handleBackspace()
- Specified by:
handleBackspace in interface AKeyboardInput
sendKeyEvent
public void sendKeyEvent(@Nonnull
android.view.KeyEvent keyEvent)
- Specified by:
sendKeyEvent in interface AKeyboardInput
translateKeyDown
public int translateKeyDown(int unicodeChar)
- Specified by:
translateKeyDown in interface AKeyboardInput
commitCompletion
public void commitCompletion(@Nonnull
android.view.inputmethod.CompletionInfo completionInfo)
- Specified by:
commitCompletion in interface AKeyboardInput
append
public void append(char primaryCode)
- Specified by:
append in interface AKeyboardInput
handleCursorRight
public void handleCursorRight()
- Specified by:
handleCursorRight in interface AKeyboardInput
handleCursorLeft
public void handleCursorLeft()
- Specified by:
handleCursorLeft in interface AKeyboardInput
handleClear
public void handleClear()
- Specified by:
handleClear in interface AKeyboardInput
handlePaste
public void handlePaste()
- Specified by:
handlePaste in interface AKeyboardInput
handleCopy
public void handleCopy()
- Specified by:
handleCopy in interface AKeyboardInput
clearMetaKeyStates
public void clearMetaKeyStates(int flags)
- Specified by:
clearMetaKeyStates in interface AKeyboardInput
keyDownUp
public void keyDownUp(int keyEventCode)
- Specified by:
keyDownUp in interface AKeyboardInput
finishComposingText
public void finishComposingText()
- Specified by:
finishComposingText in interface AKeyboardInput
isInputConnected
public boolean isInputConnected()
- Specified by:
isInputConnected in interface AKeyboardInput
getCursorCapsMode
public int getCursorCapsMode(int inputType)
- Specified by:
getCursorCapsMode in interface AKeyboardInput
Copyright © 2013. All Rights Reserved.