|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectsk.baka.ambient.views.KeyEventHandler
sk.baka.ambient.views.gesturelist.keypad.AbstractKeypadHandler
sk.baka.ambient.views.gesturelist.keypad.KeypadSearch
public final class KeypadSearch
Performs search using a keypad.
| Field Summary |
|---|
| Fields inherited from class sk.baka.ambient.views.gesturelist.keypad.AbstractKeypadHandler |
|---|
owner |
| Fields inherited from class sk.baka.ambient.views.KeyEventHandler |
|---|
keyDownHandled |
| Constructor Summary | |
|---|---|
KeypadSearch(GesturesListView owner)
Creates new search utility class. |
|
| Method Summary | |
|---|---|
boolean |
isActivatedByKey(int keyCode,
android.view.KeyEvent event)
Checks if this handler is activated by given key press. |
boolean |
isStarted()
Checks if this handler is started. |
protected boolean |
onKey(int keyCode,
int count,
android.view.KeyEvent event)
Invoked on key press. |
void |
start()
Starts this key handler. |
void |
stop()
Stops this key handler. |
| Methods inherited from class sk.baka.ambient.views.gesturelist.keypad.AbstractKeypadHandler |
|---|
selectionChanged |
| Methods inherited from class sk.baka.ambient.views.KeyEventHandler |
|---|
compose, isConfirm, keyUp, moveFocus, onConfirm, onDown, onKey, onKeyDown, onKeyMultiple, onKeyUp, onLeft, onRight, onUp |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public KeypadSearch(GesturesListView owner)
owner - owner listview| Method Detail |
|---|
protected boolean onKey(int keyCode,
int count,
android.view.KeyEvent event)
KeyEventHandleronUp, onDown... event handlers.
onKey in class KeyEventHandlerkeyCode - the key codecount - the key repeat count. 0 is the first key pressevent - the event
true if the event was handled and is to be
suppressed, false otherwise.
public boolean isActivatedByKey(int keyCode,
android.view.KeyEvent event)
AbstractKeypadHandler
isActivatedByKey in class AbstractKeypadHandlerkeyCode - the key codeevent - the event.
true if this handler should be activated,
false otherwise.public boolean isStarted()
AbstractKeypadHandler
isStarted in class AbstractKeypadHandlertrue if started, false otherwise.public void start()
AbstractKeypadHandler
start in class AbstractKeypadHandlerpublic void stop()
AbstractKeypadHandlerAbstractKeypadHandler.start() is invoked again.
stop in class AbstractKeypadHandler
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||