|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MapCanvasListener
Can be used by an external class, to register to some event
received by the canvas, and modify envetually the default behavior (mainly
for key press.
The other feedback (oneLocationSelected) is called when the user select
either with the keyboard of the touchscreen a specific location
| Method Summary | |
|---|---|
boolean |
mapKeyPressed(MapCanvas c,
int code)
Called when a key has been pressed. |
boolean |
oneLocationSelected(MapCanvas c,
OneLoc theLoc)
Callback called when the user select a location in the map |
| Method Detail |
|---|
boolean oneLocationSelected(MapCanvas c,
OneLoc theLoc)
theLoc - return true if default behavior (switch map/satellite)
needs to be applied also
boolean mapKeyPressed(MapCanvas c,
int code)
started -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||