APIdia Launch Partner
Top Description Methods
com.sun.javafx.iio

public Interface ImageLoadListener

Known Direct Implementers
com.sun.javafx.tk.quantum.PrismImageLoader2.PrismLoadListener

An interface defining methods which may be used to monitor image loading.

Method Summary

Modifier and TypeMethod and Description
public void
imageLoadMetaData(ImageLoader
the ImageLoader used to load the image.
loader
,
ImageMetadata
of the image.
metadata
)

Invoked when the meta data of the loading image is ready.

public void
imageLoadProgress(ImageLoader
the ImageLoader used to load the image.
loader
,
float
the percentage [0.0,100.0] of image data loaded.
percentageComplete
)

Receives updates of progress in image loading.

public void
imageLoadWarning(ImageLoader
the ImageLoader used to load the image.
loader
,
String
a message indicating the nature of the error.
message
)

Invoked if a warning occurs.

Method Detail

imageLoadMetaDataback to summary
public void imageLoadMetaData(ImageLoader loader, ImageMetadata metadata)

Invoked when the meta data of the loading image is ready.

Parameters
loader:ImageLoader

the ImageLoader used to load the image.

metadata:ImageMetadata

of the image.

imageLoadProgressback to summary
public void imageLoadProgress(ImageLoader loader, float percentageComplete)

Receives updates of progress in image loading.

Parameters
loader:ImageLoader

the ImageLoader used to load the image.

percentageComplete:float

the percentage [0.0,100.0] of image data loaded.

imageLoadWarningback to summary
public void imageLoadWarning(ImageLoader loader, String message)

Invoked if a warning occurs.

Parameters
loader:ImageLoader

the ImageLoader used to load the image.

message:String

a message indicating the nature of the error.