android.text.method.MultiTapKeyListener
This is the standard key listener for alphabetic input on 12-key
keyboards. You should generally not need to instantiate this yourself;
TextKeyListener will do it for you.
Summary
Public Constructors
Public Methods
|
|
|
static |
|
MultiTapKeyListener |
getInstance(boolean autotext, TextKeyListener.Capitalize cap) |
|
|
|
|
|
boolean |
onKeyDown(View view, Editable content, int keyCode, KeyEvent event) |
|
|
|
|
|
void |
onSpanAdded(Spannable s, Object what, int start, int end) |
|
|
|
|
|
void |
onSpanChanged(Spannable buf, Object what, int s, int e, int start, int stop) |
|
|
|
|
|
void |
onSpanRemoved(Spannable s, Object what, int start, int end) |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
|
|
|
|
void |
onSpanAdded(Spannable text, Object what, int start, int end) |
|
|
|
|
|
void |
onSpanChanged(Spannable text, Object what, int ostart, int oend, int nstart, int nend) |
|
|
|
|
|
void |
onSpanRemoved(Spannable text, Object what, int start, int end) |
Details
Public Constructors
Public Methods
Returns a new or existing instance with the specified capitalization
and correction properties.
public
boolean
onKeyDown(View view, Editable content, int keyCode, KeyEvent event)
Handles presses of the meta keys.
public
void
onSpanAdded(Spannable s, Object what, int start, int end)
This method is called to notify you that the specified object
has been attached to the specified range of the text.
public
void
onSpanChanged(Spannable buf, Object what, int s, int e, int start, int stop)
This method is called to notify you that the specified object
has been relocated from the range ostart…oend
to the new range nstart…nend
of the text.
public
void
onSpanRemoved(Spannable s, Object what, int start, int end)
This method is called to notify you that the specified object
has been detached from the specified range of the text.