|
||||||||||
| 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
public abstract class AbstractKeypadHandler
Handles the key events.
| Field Summary | |
|---|---|
protected GesturesListView |
owner
The owner instance. |
| Fields inherited from class sk.baka.ambient.views.KeyEventHandler |
|---|
keyDownHandled |
| Constructor Summary | |
|---|---|
AbstractKeypadHandler(GesturesListView owner)
Creates new handler. |
|
| Method Summary | |
|---|---|
abstract boolean |
isActivatedByKey(int keyCode,
android.view.KeyEvent event)
Checks if this handler is activated by given key press. |
abstract boolean |
isStarted()
Checks if this handler is started. |
void |
selectionChanged()
Invoked when the selection is changed in the underlying list view. |
abstract void |
start()
Starts this key handler. |
abstract void |
stop()
Stops this key handler. |
| Methods inherited from class sk.baka.ambient.views.KeyEventHandler |
|---|
compose, isConfirm, keyUp, moveFocus, onConfirm, onDown, onKey, 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 |
| Field Detail |
|---|
protected final GesturesListView owner
| Constructor Detail |
|---|
public AbstractKeypadHandler(GesturesListView owner)
owner - owner list view| Method Detail |
|---|
public abstract boolean isActivatedByKey(int keyCode,
android.view.KeyEvent event)
keyCode - the key codeevent - the event.
true if this handler should be activated,
false otherwise.public abstract void start()
public abstract void stop()
start() is invoked again.
public abstract boolean isStarted()
true if started, false otherwise.public void selectionChanged()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||