android.text.method
public
abstract
class
android.text.method.BaseKeyListener
Known Direct Subclasses
Known Indirect Subclasses
Summary
Public Constructors
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Public Constructors
Public Methods
public
boolean
backspace(View view, Editable content, int keyCode, KeyEvent event)
Performs the action that happens when you press the DEL key in
a TextView. If there is a selection, deletes the selection;
otherwise, DEL alone deletes the character before the cursor,
if any;
ALT+DEL deletes everything on the line the cursor is on.
Returns
- true if anything was deleted; false otherwise.
public
boolean
onKeyDown(View view, Editable content, int keyCode, KeyEvent event)
Handles presses of the meta keys.