IL PROTECTED]
> > [mailto:[EMAIL PROTECTED] On
> > Behalf Of Sunburned Surveyor
> > Sent: Thursday, November 30, 2006 10:30 AM
> > To: List for discussion of JPP development and use.
> > Subject: Re: [JPP-Devel] OJ's rendering code...
> >
> >
> >
d Surveyor
> Sent: Thursday, November 30, 2006 10:30 AM
> To: List for discussion of JPP development and use.
> Subject: Re: [JPP-Devel] OJ's rendering code...
>
>
> Thanks for replying Jon. It looks like Larry was already able
> to get to the bottom of the problem we
I just took a look at the RenderingManager.copyTo() method. It calls
the getRenderer method I mentioned in my prior post.
It looks like I've solved this little part of the puzzle. Now I should
be able to see how the rest of the chain of events sparked by a call
to LayerViewPanel.paintComponent() p
I think I may have found a partial answer to some of my questions to
Larry and Jon above.
It appears that the getRenderer() method of the RenderingManager
returns the same Renderer for all Layers. (Well, all Layers that
aren't WMS Layers.) It is incorrect to say the same Renderer. I should
say it
Thanks for your help Larry. Let me see if I understand what is going
on in this method.
for (Iterator i = styles.iterator(); i.hasNext();) {
Style style = (Style) i.next();
Get each Style object stored in the collection of Styles in the
SimpleFeatureCollectionRenderer.
for (Iterator j = layerTo
Sunburned,
I'll let Jon answer, but the code you posted is not what he was referring
to. Instead look into (for example) SimpleFeatureCollectionRenderer for:
protected void paint(Graphics2D g) throws Exception {
for (Iterator i = styles.iterator(); i.hasNext();) {
Style s
Thanks for replying Jon. It looks like Larry was already able to get
to the bottom of the problem we were discussing. I'm still curious
about something though. Maybe you will have a few minutes to help me
out.
You wrote: "If memory serves, LayerViewPanel's RenderingManager loops
through the LayerM
Hi Sunburned - If memory serves, LayerViewPanel's RenderingManager loops
through the LayerManager's layers. For each layer it loops through the
layer's Styles and calls paint() on each one.
Jon
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On
> Behalf Of S