RE: [OpenMap Users] MapMouseListener vs MapMouseInterpreter

From: Ben Podoll <benjamin.podoll_at_und.edu>
Date: Thu, 30 Sep 2004 15:52:20 -0500

Can't you just capture which mouse button the event was from in your
mouseclicked event?

 

  _____

From: owner-openmap-users_at_bbn.com [mailto:owner-openmap-users_at_bbn.com] On
Behalf Of Andrea Leone
Sent: Thursday, September 30, 2004 1:03 PM
To: openmap-users_at_bbn.com
Subject: [OpenMap Users] MapMouseListener vs MapMouseInterpreter

 

Hi everybody,

I implemented a new layer like this one:

 

"public class LAYERNAME extends OMGraphicHandlerLayer implements
MapMouseListener, MapMouseInterpreter"

 

I managed to make it listening to the MapMouseListener events like
mouseclicked and mousemoved, but I can not figure out how to make it
listening to MapMouseInterpreter events like leftclick, rightclick ecc.

 

It is like the MapMouseListener interface is stronger than the
MapMouseInterpreter and override it.

Any idea?

 

Thanks,

Andrea




--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Thu Sep 30 2004 - 16:53:53 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:06 EDT