android.text.method
Class QwertyKeyListener
java.lang.Object
android.text.method.MetaKeyKeyListener
android.text.method.BaseKeyListener
android.text.method.QwertyKeyListener
- All Implemented Interfaces:
- KeyListener
public class QwertyKeyListener
- extends BaseKeyListener
Methods inherited from class android.text.method.MetaKeyKeyListener |
adjustMetaAfterKeypress, adjustMetaAfterKeypress, clearMetaKeyState, clearMetaKeyState, clearMetaKeyState, getMetaState, getMetaState, getMetaState, getMetaState, handleKeyDown, handleKeyUp, isMetaTracker, isSelectingMetaTracker, onKeyUp, resetLockedMeta, resetLockedMeta, resetMetaState |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QwertyKeyListener
public QwertyKeyListener(TextKeyListener.Capitalize cap,
boolean autoText)
getInstance
public static QwertyKeyListener getInstance(boolean autoText,
TextKeyListener.Capitalize cap)
getInstanceForFullKeyboard
public static QwertyKeyListener getInstanceForFullKeyboard()
getInputType
public int getInputType()
onKeyDown
public boolean onKeyDown(View view,
Editable content,
int keyCode,
KeyEvent event)
- Specified by:
onKeyDown
in interface KeyListener
- Overrides:
onKeyDown
in class BaseKeyListener
markAsReplaced
public static void markAsReplaced(Spannable content,
int start,
int end,
String original)
Copyright © 2008-2012. All Rights Reserved.