Android
android.text.method
public class

android.text.method.DialerKeyListener

java.lang.Object
android.text.method.MetaKeyKeyListener
android.text.method.BaseKeyListener KeyListener
android.text.method.NumberKeyListener InputFilter
android.text.method.DialerKeyListener

For dialing-only text entry

Summary

Constants

      Value  
char[]  CHARACTERS  The characters that are used.     
Constants inherited from class android.text.method.MetaKeyKeyListener

Public Constructors

            DialerKeyListener()

Public Methods

      static    DialerKeyListener  getInstance()

Protected Methods

          char[]  getAcceptedChars()
You can say which characters you can accept.
          int  lookup(KeyEvent event, Spannable content)
Overrides the superclass's lookup method to prefer the number field from the KeyEvent.
Methods inherited from class android.text.method.NumberKeyListener
Methods inherited from class android.text.method.BaseKeyListener
Methods inherited from class android.text.method.MetaKeyKeyListener
Methods inherited from class java.lang.Object
Methods inherited from interface android.text.InputFilter
Methods inherited from interface android.text.method.KeyListener

Details

Constants

public static final char[] CHARACTERS

The characters that are used.

Public Constructors

public DialerKeyListener()

Public Methods

public static DialerKeyListener getInstance()

Protected Methods

protected char[] getAcceptedChars()

You can say which characters you can accept.

protected int lookup(KeyEvent event, Spannable content)

Overrides the superclass's lookup method to prefer the number field from the KeyEvent.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48