android.view.inputmethod
Interface InputConnection
- All Known Implementing Classes:
- BaseInputConnection, InputConnectionWrapper
public interface InputConnection
GET_TEXT_WITH_STYLES
static final int GET_TEXT_WITH_STYLES
- See Also:
- Constant Field Values
GET_EXTRACTED_TEXT_MONITOR
static final int GET_EXTRACTED_TEXT_MONITOR
- See Also:
- Constant Field Values
getTextBeforeCursor
java.lang.CharSequence getTextBeforeCursor(int n,
int flags)
getTextAfterCursor
java.lang.CharSequence getTextAfterCursor(int n,
int flags)
getCursorCapsMode
int getCursorCapsMode(int reqModes)
getExtractedText
ExtractedText getExtractedText(ExtractedTextRequest request,
int flags)
deleteSurroundingText
boolean deleteSurroundingText(int leftLength,
int rightLength)
setComposingText
boolean setComposingText(java.lang.CharSequence text,
int newCursorPosition)
finishComposingText
boolean finishComposingText()
commitText
boolean commitText(java.lang.CharSequence text,
int newCursorPosition)
commitCompletion
boolean commitCompletion(CompletionInfo text)
setSelection
boolean setSelection(int start,
int end)
performEditorAction
boolean performEditorAction(int editorAction)
performContextMenuAction
boolean performContextMenuAction(int id)
beginBatchEdit
boolean beginBatchEdit()
endBatchEdit
boolean endBatchEdit()
sendKeyEvent
boolean sendKeyEvent(KeyEvent event)
clearMetaKeyStates
boolean clearMetaKeyStates(int states)
reportFullscreenMode
boolean reportFullscreenMode(boolean enabled)
performPrivateCommand
boolean performPrivateCommand(java.lang.String action,
Bundle data)
Copyright © 2008-2010. All Rights Reserved.