Reference to the MapBean

From: Cicero A. W. Zandoná <cicero@simepar.br>
Date: Fri Aug 09 2002 - 14:58:14 EDT

Hi Openmap users

I recently created an OMMonitorRings class, that extends OMRangeRings.
Also, I had to extend EditableOMRangeRings in order to create a new GUI
panel.

Well, the problem is that I want the graphic to repaint when the user
interacts with the panel but that only hapens with mouse interactions,
but the mouse doesnt give the precision I need.

Looking at the source of EditableOMGraphics I saw that to render the
graphic I need to have a reference to the MapBean object, more precisely
to the mapBean.getGraphics() method. But in the mouse interaction this
is made by the mouseEvent.getSource() method, wich I dont have.

If anyone have an idea about how to get this reference, or even another
way to repaint the gaphic it will be welcome.

Thanks Already

Cicero Zandoná

--
[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 Fri Aug 9 15:01:56 2002

This archive was generated by hypermail 2.1.8 : Thu May 12 2005 - 07:18:33 EDT