Package pyjamas :: Package Canvas :: Module ImageLoaderhulahop :: Class ImageLoader
[hide private]
[frames] | no frames]

Class ImageLoader

source code

Instance Methods [hide private]
 
__init__(self) source code
 
addHandle(self, img) source code
 
dispatchIfComplete(self) source code
 
finalize(self, cb) source code
 
incrementLoadedImages(self) source code
 
isAllLoaded(self) source code
 
_onload(self, form, event, something) source code
 
_onsubmit(self, form, event, something) source code
 
hookEvents(self, iframe, form, listener) source code
 
prepareImage(self, url) source code
Instance Variables [hide private]
  totalImages
* * Stores the ImageElement reference so that when all the images report * an onload, we can return the array of all the ImageElements.
  _onsubmit_listener
* * Returns a handle to an img object.
Instance Variable Details [hide private]

totalImages

* * Stores the ImageElement reference so that when all the images report * an onload, we can return the array of all the ImageElements. * @param img

_onsubmit_listener

* * Returns a handle to an img object. Ties back to the ImageLoader instance