|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectqx.core.Object
qx.core.Target
qx.io.image.Preloader
public class Preloader
This class preloads one image and provides information about this image after it is loaded.
This class should not be used directly. Better use PreloaderManager
:
qx.io.image.PreloaderManager.getInstance().create(imageUrl)
Constructor Summary | |
---|---|
Preloader()
|
|
Preloader(java.lang.String imageUrl)
|
Method Summary | |
---|---|
java.lang.Integer |
getHeight()
Return the height of the image in pixel. |
boolean |
getIsPng()
Check whether the image format if PNG |
java.lang.String |
getSource()
Get the full URI of the image |
java.lang.String |
getUri()
Get the full URI of the image |
java.lang.Integer |
getWidth()
Return the width of the image in pixel. |
boolean |
isErroneous()
Check whether the loading of the image failed |
boolean |
isLoaded()
Check whether the image is already loaded |
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 |
---|
public Preloader()
public Preloader(java.lang.String imageUrl)
Method Detail |
---|
public java.lang.Integer getHeight()
Return the height of the image in pixel.
public boolean getIsPng()
Check whether the image format if PNG
public java.lang.String getSource()
Get the full URI of the image
public java.lang.String getUri()
Get the full URI of the image
public java.lang.Integer getWidth()
Return the width of the image in pixel.
public boolean isErroneous()
Check whether the loading of the image failed
public boolean isLoaded()
Check whether the image is already loaded
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |