LoadListener (or rather you should use LoadHandler from GWT 1.6
onwards) allows you to handle an onLoad event from widgets that
implement the HasLoadHandlers interface.  For example, if you have an
Image widget, then you can apply a LoadHandler to perform some
functionality once the image has loaded:

Image theImg = new Image("someimage.png");
theImg.addLoadHandler(new LoadHandler(){
    public onLoad(LoadEvent event){
       GWT.log("Image loaded",null);
    }
});

//Adam

On 1 Apr, 08:23, jagadesh <[email protected]> wrote:
> hi guys ,
>
> what is the use of load listener and how can i use it.
> how can i create a list box which have images as items
>
> Thank u,
> jagadesh
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to