Interface AsynchronousLoadListener
- All Superinterfaces:
EventListener
This interface is used for asynchronously-loaded contents. For example, the SVG-based
implementation of
RadianceIcon
in SVG Transcoder uses the
ExecutorService
to load the SVG image in the background. When the image is loaded, the
component that contains this image (command button from Component, for example) is notified so
that it can repaint itself.-
Method Summary
Modifier and TypeMethodDescriptionvoid
completed
(boolean success) Indicates that the asynchronous load has been completed.
-
Method Details
-
completed
void completed(boolean success) Indicates that the asynchronous load has been completed.- Parameters:
success
- Iftrue
, the load has been completed successfully.
-