qx.io.image
Class PreloaderSystem

java.lang.Object
  extended by qx.core.Object
      extended by qx.core.Target
          extended by qx.io.image.PreloaderSystem

public class PreloaderSystem
extends Target

The image preloader can be used to fill the browser cache with images, which are needed later. Once all images are pre loaded a “complete” event is fired.


Constructor Summary
PreloaderSystem()
          If the callback is provided the preloading starts automatically and the callback is called on completion of the pre loading.
PreloaderSystem(java.lang.String vPreloadList)
          If the callback is provided the preloading starts automatically and the callback is called on completion of the pre loading.
PreloaderSystem(java.lang.String vPreloadList, java.lang.Object vCallBack)
          If the callback is provided the preloading starts automatically and the callback is called on completion of the pre loading.
PreloaderSystem(java.lang.String vPreloadList, java.lang.Object vCallBack, java.lang.Object vCallBackScope)
          If the callback is provided the preloading starts automatically and the callback is called on completion of the pre loading.
 
Method Summary
 void _check()
          Checks whether the pre loading is complete and dispatches the “complete” event.
 void start()
          Start the preloading
 
Methods inherited from class qx.core.Target
_dispatchEvent, addChangeSelectionListener, addChangeValueListener, addEventListener, addExecuteListener, addJavaEventListener, createDispatchChangeEvent, createDispatchDataEvent, createDispatchEvent, dispatchEvent, hasEventListeners, removeEventListener
 
Methods inherited from class qx.core.Object
_disposeFields, _disposeObjectDeep, _disposeObjects, base, dispose, get, getDisposed, isDisposed, reset, self, set, toHashCode, toString_
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PreloaderSystem

public PreloaderSystem()

If the callback is provided the preloading starts automatically and the callback is called on completion of the pre loading. Otherwhise the pre loading has to be started manually using start().


PreloaderSystem

public PreloaderSystem(java.lang.String vPreloadList)

If the callback is provided the preloading starts automatically and the callback is called on completion of the pre loading. Otherwhise the pre loading has to be started manually using start().


PreloaderSystem

public PreloaderSystem(java.lang.String vPreloadList,
                       java.lang.Object vCallBack)

If the callback is provided the preloading starts automatically and the callback is called on completion of the pre loading. Otherwhise the pre loading has to be started manually using start().


PreloaderSystem

public PreloaderSystem(java.lang.String vPreloadList,
                       java.lang.Object vCallBack,
                       java.lang.Object vCallBackScope)

If the callback is provided the preloading starts automatically and the callback is called on completion of the pre loading. Otherwhise the pre loading has to be started manually using start().

Method Detail

_check

public void _check()

Checks whether the pre loading is complete and dispatches the “complete” event.


start

public void start()

Start the preloading



Copyright © 2008 1&1. All Rights Reserved.