public class

DialerKeyListener

extends NumberKeyListener
java.lang.Object
   ↳ android.text.method.MetaKeyKeyListener
     ↳ android.text.method.BaseKeyListener
       ↳ android.text.method.NumberKeyListener
         ↳ android.text.method.DialerKeyListener

Class Overview

For dialing-only text entry

Summary

Constants
char[] CHARACTERS The characters that are used.
[Expand]
Inherited Constants
From class android.text.method.MetaKeyKeyListener
Public Constructors
DialerKeyListener()
Public Methods
int getInputType()
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.
[Expand]
Inherited Methods
From class android.text.method.NumberKeyListener
From class android.text.method.BaseKeyListener
From class android.text.method.MetaKeyKeyListener
From class java.lang.Object
From interface android.text.InputFilter
From interface android.text.method.KeyListener

Constants

public static final char[] CHARACTERS

The characters that are used.

Public Constructors

public DialerKeyListener ()

Public Methods

public int getInputType ()

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.