|
GWT 2.6.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.google.gwt.dom.client.ImageSrcIE6
class ImageSrcIE6
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 | |
---|---|
ImageSrcIE6()
|
Method Summary | |
---|---|
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()
Method Detail |
---|
public static java.lang.String getImgSrc(Element img)
public static void setImgSrc(Element img, java.lang.String src)
|
GWT 2.6.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |