Re: image.preFetch - How to determine its loaded?

2011-08-25 Thread al76
Thats exactly what I needed. Thankyou. -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@

Re: image.preFetch - How to determine its loaded?

2011-08-22 Thread StrongSteve
apply a loadhandler onto the image. Something like the code below... final Image imgPin = new Image(WhiteBoardImageBundle.INSTANCE.pin().getURL()); imgPin.addLoadHandler(new LoadHandler() { @Override public void onLoad(LoadEvent event) { //Do something with the image

image.preFetch - How to determine its loaded?

2011-08-21 Thread al76
How can I check that an image has been prefetched and is ready to be displayed? -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to google-web-toolkit@googlegroups.com. To unsubscribe from this group, send