org.jfree.util
public class WaitingImageObserver extends Object implements ImageObserver, Serializable, Cloneable
| Constructor Summary | |
|---|---|
| WaitingImageObserver(Image image)
Creates a new ImageObserver | |
| Method Summary | |
|---|---|
| Object | clone()
Clones this WaitingImageObserver.
|
| boolean | imageUpdate(Image img, int infoflags, int x, int y, int width, int height)
Callback function used by AWT to inform that more data is available. |
| boolean | isError()
Returns true if there is an error condition, and false otherwise.
|
| boolean | isLoadingComplete()
Returns true if loading is complete, and false
otherwise.
|
| void | waitImageLoaded()
The workerthread. |
ImageObserver for the given Image.
The observer has to be started by an external thread.
Parameters: image the image to observe (null not permitted).
Deprecated: cloning may lock down the observer
Clones this WaitingImageObserver.Returns: a clone.
Throws: CloneNotSupportedException this should never happen.
Parameters: img the image being observed. infoflags the bitwise inclusive OR of the following
flags: WIDTH, HEIGHT,
PROPERTIES, SOMEBITS,
FRAMEBITS, ALLBITS,
ERROR, ABORT. x the x coordinate. y the y coordinate. width the width. height the height.
Returns: false if the infoflags indicate that the
image is completely loaded; true otherwise.
Returns: A boolean.
true if loading is complete, and false
otherwise.
Returns: A boolean.