Thanks Don, that was the approach I was leaning towards taking, I just
wasn't sure if there was a more "openmap-esque" way to do it. It works
perfectly.
-Adam
On Thu, Dec 3, 2009 at 11:58 AM, Don Dietrick <dietrick_at_bbn.com> wrote:
> Hi Adam,
>
> You can just add a regular Java MouseListener to the MapBean, and do what
> you like on the mouseExited method. If you need it to hook up with other
> OpenMap components, have it extend OMComponent and implement MouseListener.
>
> Hope this helps,
>
> Don
>
>
> Adam Brightwell wrote:
>
>> Hi all,
>>
>> Are there any suggestions on how to properly listen for mouse events on
>> the map panel and not just the individual layers? Allow me to clarify what
>> I am attempting to do... I just need to know when the mouse exits the map so
>> that I can handle the event without having to implement the same
>> functionality on the individual layers since the event really has nothing to
>> do with the layers.
>>
>> Thanks,
>> Adam
>>
>
--
W. Adam Brightwell
"We're not questioning God. Just those he chose to carry on His cross.
We're no better, you'll see. Just all of us, the lost causes."
--
[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 Dec 03 2009 - 12:34:33 EST