Android
android.text.method
public interface

android.text.method.KeyListener

android.text.method.KeyListener
Known Indirect Subclasses

Summary

Public Methods

          boolean  onKeyDown(View view, Editable text, int keyCode, KeyEvent event)
If the key listener wants to handle this key, return true, otherwise return false and the caller (i.e.
          boolean  onKeyUp(View view, Editable text, int keyCode, KeyEvent event)
If the key listener wants to handle this key release, return true, otherwise return false and the caller (i.e.

Details

Public Methods

public boolean onKeyDown(View view, Editable text, int keyCode, KeyEvent event)

If the key listener wants to handle this key, return true, otherwise return false and the caller (i.e. the widget host) will handle the key.

public boolean onKeyUp(View view, Editable text, int keyCode, KeyEvent event)

If the key listener wants to handle this key release, return true, otherwise return false and the caller (i.e. the widget host) will handle the key.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48