Re: OMGraphic.select( )

From: Donald Dietrick <dietrick@bbn.com>
Date: Sun Sep 30 2001 - 13:13:20 EDT

Hi Doug,

By default, the only thing that calling OMGraphic.select() does is
change the line color to the select color. The select color is black,
though, by default, which is the same as the default line color. Could
this be what you are seeing?

Looking forward to your additions.

- Don

On Saturday, September 29, 2001, at 02:13 PM, Doug Van Auken wrote:

> Hello everbody:
>  
> I am just about finished with a package to read and write Esri shape
> file sets and am working on some examples illustrating how to use it (I
> am planning on submitting it in about a week).   In one of my examples,
> I am trying to click on a row in a JTable and have the corresponding
> geometry highlight itself.  I am using the following code, but am not
> seeing any results: 
>  
> OMGraphic graphic = list.getOMGraphicAt(index); 
> graphic.select();
> list.generate(_mapBean.getProjection());
> layer.repaint();
>  
> I am receiving events from the JTable when I click on a row, so I know
> the problem does not lie in the JTable.
>  
> Does anyone have any ideas?
>  
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Donald F. Dietrick, dietrick@bbn.com
BBN Technologies, 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 Sun Sep 30 13:14:15 2001

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