Build 1.0_r1(from source)

android.text.method
Class DateTimeKeyListener

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.DateTimeKeyListener
All Implemented Interfaces:
InputFilter, KeyListener

public class DateTimeKeyListener
extends NumberKeyListener

For entering dates and times in the same 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
DateTimeKeyListener()
           
 
Method Summary
protected  char[] getAcceptedChars()
          You can say which characters you can accept.
static DateTimeKeyListener 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

DateTimeKeyListener

public DateTimeKeyListener()
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 DateTimeKeyListener getInstance()

Build 1.0_r1(from source)

Please submit a feedback, bug or feature