com.google.gwt.dom.client

## Class ImageSrcIE6

- java.lang.Object
- - com.google.gwt.dom.client.ImageSrcIE6

-      class ImageSrcIE6
      extends java.lang.Object

  Works around an IE problem where multiple images trying to load at the same time will generate a request per image. We fix this by only allowing the first image of a given URL to set its source immediately, but simultaneous requests for the same URL don't actually get their source set until the original load is complete.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `ImageSrcIE6()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static java.lang.String` | `getImgSrc(Element img)` Returns the src of the image, or the pending src if the image is pending.
    `static void` | `setImgSrc(Element img, java.lang.String src)` Sets the src of the image, queuing up with other requests for the same URL if necessary.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ImageSrcIE6

          ImageSrcIE6()

  - ### Method Detail

    - #### getImgSrc

          public static java.lang.String getImgSrc(Element img)

      Returns the src of the image, or the pending src if the image is pending.

    - #### setImgSrc

          public static void setImgSrc(Element img,
                       java.lang.String src)

      Sets the src of the image, queuing up with other requests for the same URL if necessary. If the element is a clone, it may think it is in a pending state but will not be updated properly when the image loads, so we need to add it to the queue.