Re: Questions on Loading Notifications & URIContentListener

Benjy Cline <benjycline-/[email protected]> Thu, 16 Oct 2008 10:59:07 -0400
Newsgroups gmane.comp.mozilla.jrex
Message-ID <[email protected]>
Hi,

Take a look at the code at http://www.benjysbrain.com/misc/Render/.
I use the onStateChange() method to determine when a page is
loaded.  My code implements
org.mozilla.jrex.event.progress.ProgressListener and
and adds itself as a ProgressListener to the JRexCanvas.

I don't know about a start loading event, but my code does
"know" when the document loads.

Benjy

Mitesh51 wrote:
> Is there any method in API which will be invoked just before the document
> loading starts in JREX and method which will be invoked when complete
> document is loaded(With all Images and other files)?
> 
> When I add URIContentListener in canvas then also its methods are not
> invoked until and unless i manually create JrexEvent and post it in the
> JRexEventManager...Is there any solution?
> canvas.addURIContentListener(contentListenerTest);