Build 1.0_r1(from source)

android.text.method
Class TimeKeyListener

java.lang.Object
  extended by android.text.method.MetaKeyKeyListener
      extended by android.text.method.BaseKeyListener
          extended by android.text.method.NumberKeyListener
              extended by android.text.method.TimeKeyListener
All Implemented Interfaces:
InputFilter, KeyListener

public class TimeKeyListener
extends NumberKeyListener

For entering times in a text field.


Nested Class Summary
 
Nested classes/interfaces inherited from interface android.text.InputFilter
InputFilter.AllCaps, InputFilter.LengthFilter
 
Field Summary
static char[] CHARACTERS
          The characters that are used.
 
Fields inherited from class android.text.method.BaseKeyListener
OLD_SEL_START
 
Fields inherited from class android.text.method.MetaKeyKeyListener
META_ALT_LOCKED, META_ALT_ON, META_CAP_LOCKED, META_SHIFT_ON, META_SYM_LOCKED, META_SYM_ON
 
Constructor Summary
TimeKeyListener()
           
 
Method Summary
protected  char[] getAcceptedChars()
          You can say which characters you can accept.
static TimeKeyListener getInstance()
           
 
Methods inherited from class android.text.method.NumberKeyListener
filter, lookup, ok, onKeyDown
 
Methods inherited from class android.text.method.BaseKeyListener
backspace
 
Methods inherited from class android.text.method.MetaKeyKeyListener
adjustMetaAfterKeypress, getMetaState, getMetaState, isMetaTracker, onKeyUp, resetLockedMeta, resetMetaState
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface android.text.method.KeyListener
onKeyUp
 

Field Detail

CHARACTERS

public static final char[] CHARACTERS
The characters that are used.

See Also:
KeyEvent.getMatch(char[]), getAcceptedChars()
Constructor Detail

TimeKeyListener

public TimeKeyListener()
Method Detail

getAcceptedChars

protected char[] getAcceptedChars()
Description copied from class: NumberKeyListener
You can say which characters you can accept.

Specified by:
getAcceptedChars in class NumberKeyListener

getInstance

public static TimeKeyListener getInstance()

Build 1.0_r1(from source)

Please submit a feedback, bug or feature