[Expand]
Inherited Methods
|
From class android.text.method.NumberKeyListener
CharSequence
|
filter(
CharSequence source, int start, int end,
Spanned dest, int dstart, int dend)
This method is called when the buffer is going to replace the range
dstart … dend of
dest with the new text from the range
start … end of
source .
|
abstract char[]
|
getAcceptedChars()
You can say which characters you can accept.
|
int
|
lookup(
KeyEvent event,
Spannable content)
|
static boolean
|
ok(char[] accept, char c)
|
boolean
|
onKeyDown(
View view,
Editable content, int keyCode,
KeyEvent event)
Handles presses of the meta keys.
|
|
From class android.text.method.BaseKeyListener
boolean
|
backspace(
View view,
Editable content, int keyCode,
KeyEvent event)
|
boolean
|
forwardDelete(
View view,
Editable content, int keyCode,
KeyEvent event)
|
boolean
|
onKeyDown(
View view,
Editable content, int keyCode,
KeyEvent event)
Handles presses of the meta keys.
|
boolean
|
onKeyOther(
View view,
Editable content,
KeyEvent event)
Base implementation handles ACTION_MULTIPLE KEYCODE_UNKNOWN by inserting the event's text into the content.
|
|
From class android.text.method.MetaKeyKeyListener
static long
|
adjustMetaAfterKeypress(long state)
Call this method after you handle a keypress so that the meta state will be reset to unshifted (if it is not still down) or primed to be reset to unshifted (once it is released).
|
static void
|
adjustMetaAfterKeypress(
Spannable content)
Call this method after you handle a keypress so that the meta state will be reset to unshifted (if it is not still down) or primed to be reset to unshifted (once it is released).
|
static void
|
clearMetaKeyState(
Editable content, int states)
|
void
|
clearMetaKeyState(
View view,
Editable content, int states)
|
long
|
clearMetaKeyState(long state, int which)
Clears the state of the specified meta key if it is locked.
|
final static int
|
getMetaState(
CharSequence text)
Gets the state of the meta keys.
|
final static int
|
getMetaState(long state, int meta)
Gets the state of a particular meta key.
|
final static int
|
getMetaState(long state)
Gets the state of the meta keys.
|
final static int
|
getMetaState(
CharSequence text, int meta)
Gets the state of a particular meta key.
|
static long
|
handleKeyDown(long state, int keyCode,
KeyEvent event)
Handles presses of the meta keys.
|
static long
|
handleKeyUp(long state, int keyCode,
KeyEvent event)
Handles release of the meta keys.
|
static boolean
|
isMetaTracker(
CharSequence text,
Object what)
Returns true if this object is one that this class would use to keep track of any meta state in the specified text.
|
static boolean
|
isSelectingMetaTracker(
CharSequence text,
Object what)
Returns true if this object is one that this class would use to keep track of the selecting meta state in the specified text.
|
boolean
|
onKeyDown(
View view,
Editable content, int keyCode,
KeyEvent event)
Handles presses of the meta keys.
|
boolean
|
onKeyUp(
View view,
Editable content, int keyCode,
KeyEvent event)
Handles release of the meta keys.
|
static void
|
resetLockedMeta(
Spannable content)
Call this if you are a method that ignores the locked meta state (arrow keys, for example) and you handle a key.
|
static long
|
resetLockedMeta(long state)
Call this if you are a method that ignores the locked meta state (arrow keys, for example) and you handle a key.
|
static void
|
resetMetaState(
Spannable text)
Resets all meta state to inactive.
|
|
From class java.lang.Object
Object
|
clone()
Creates and returns a copy of this
Object .
|
boolean
|
equals(
Object o)
Compares this instance with the specified object and indicates if they are equal.
|
void
|
finalize()
Invoked when the garbage collector has detected that this instance is no longer reachable.
|
final
Class<?>
|
getClass()
Returns the unique instance of
Class that represents this object's class.
|
int
|
hashCode()
Returns an integer hash code for this object.
|
final void
|
notify()
Causes a thread which is waiting on this object's monitor (by means of calling one of the
wait() methods) to be woken up.
|
final void
|
notifyAll()
Causes all threads which are waiting on this object's monitor (by means of calling one of the
wait() methods) to be woken up.
|
String
|
toString()
Returns a string containing a concise, human-readable description of this object.
|
final void
|
wait()
Causes the calling thread to wait until another thread calls the
notify() or
notifyAll() method of this object.
|
final void
|
wait(long millis, int nanos)
Causes the calling thread to wait until another thread calls the
notify() or
notifyAll() method of this object or until the specified timeout expires.
|
final void
|
wait(long millis)
Causes the calling thread to wait until another thread calls the
notify() or
notifyAll() method of this object or until the specified timeout expires.
|
|
From interface android.text.InputFilter
abstract
CharSequence
|
filter(
CharSequence source, int start, int end,
Spanned dest, int dstart, int dend)
This method is called when the buffer is going to replace the range
dstart … dend of
dest with the new text from the range
start … end of
source .
|
|
From interface android.text.method.KeyListener
abstract void
|
clearMetaKeyState(
View view,
Editable content, int states)
Remove the given shift states from the edited text.
|
abstract int
|
getInputType()
Return the type of text that this key listener is manipulating, as per
InputType .
|
abstract boolean
|
onKeyDown(
View view,
Editable text, int keyCode,
KeyEvent event)
If the key listener wants to handle this key, return true, otherwise return false and the caller (i.e.
|
abstract boolean
|
onKeyOther(
View view,
Editable text,
KeyEvent event)
If the key listener wants to other kinds of key events, return true, otherwise return false and the caller (i.e.
|
abstract boolean
|
onKeyUp(
View view,
Editable text, int keyCode,
KeyEvent event)
If the key listener wants to handle this key release, return true, otherwise return false and the caller (i.e.
|
|