- All Known Implementing Classes:
ScalablePicture
public interface SourcePictureListener
This interface allows a SourcePicture to inform a listener that the status has changed.
-
Method Summary
Modifier and TypeMethodDescriptionvoidsourceLoadProgressNotification(SourcePicture.SourcePictureStatus statusCode, int percentage) inform the listener of progress on the loading of the imagevoidsourceStatusChange(SourcePicture.SourcePictureStatus statusCode, String statusMessage, SourcePicture sp) inform the listener that the status has changed
-
Method Details
-
sourceStatusChange
void sourceStatusChange(SourcePicture.SourcePictureStatus statusCode, String statusMessage, SourcePicture sp) inform the listener that the status has changed- Parameters:
statusCode- status codestatusMessage- status messagesp- source picture
-
sourceLoadProgressNotification
inform the listener of progress on the loading of the image- Parameters:
statusCode- status codepercentage- percentage
-