Hi Thomas,
There isn't support built in for key listeners. You could follow the
model of the MouseDelegator/MapMouseModes/MapMouseListeners to direct
the events to an organized hierarchy, or modify those classes so they
handle key events, too.
Or you can just do things the Swing way, and use the MapHandler to hook
up to the MapBean as a KeyListener directly.
Cheers,
Don
On Wednesday, July 17, 2002, at 04:56 AM, Thomas Pich wrote:
> Hey all,
> how do you make key listeners work on Layers?
> Is there an example I can look at?
>
> I would like to detect keys e.g. ESC in Layers or inherited MouseModes.
>
> Thanks
>
> Thomas
>
> --
> [To unsubscribe to this list send an email to "majdart@bbn.com"
> with the following text in the BODY of the message "unsubscribe
> openmap-users"]
>
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, BBN Technologies, dietrick@bbn.com
10 Moulton Street, Cambridge, MA 02138
617-873-3031 [fax]-2794
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-- [To unsubscribe to this list send an email to "majdart@bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Sat Jul 20 01:26:29 2002
This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:33 EDT