English | Site Directory

Android - An Open Handset Alliance Project

android.text.method
public abstract class

android.text.method.NumberInputMethod

java.lang.Object
android.text.method.MetaKeyInputMethod
android.text.method.BaseInputMethod InputMethod
android.text.method.NumberInputMethod

For numeric text entry

Known Direct Subclasses

Summary

Constants inherited from class android.text.method.MetaKeyInputMethod

Public Constructors

          NumberInputMethod()

Public Methods

        boolean  onKeyDown(View view, Editable content, int keyCode, KeyEvent event)
Handles presses of the meta keys.

Protected Methods

abstract        char[]  getAcceptedChars()
You can say which characters you can accept.
Methods inherited from class android.text.method.BaseInputMethod
Methods inherited from class android.text.method.MetaKeyInputMethod
Methods inherited from class java.lang.Object
Methods inherited from interface android.text.method.InputMethod

Details

Public Constructors

public NumberInputMethod()

Public Methods

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

Handles presses of the meta keys.

Protected Methods

protected abstract char[] getAcceptedChars()

You can say which characters you can accept.
Build m5-rc15g - 14 May 2008 12:50