|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
public interface SoftKeyCallback
This interface represents a function prototype for soft key bindings. Soft keys are multi-purpose keys located usually near the screen of the device.
If a soft key callback function is not specified
the default Script.getSoftKey(Shell, Component, int) is called.
Shell.setSoftKeyHandler(SoftKeyCallback),
Callbacks| Method Summary | |
|---|---|
MenuItem |
getSoftKey(Shell shell,
Component focused,
int key)
Called when system wants to get a binding for soft key. |
| Method Detail |
|---|
MenuItem getSoftKey(Shell shell,
Component focused,
int key)
shell - Source shellfocused - Source componentkey - Either SOFTKEY_OK,
SOFTKEY_MIDDLE or
SOFTKEY_BACKMenuItem
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||