Interface AsynchronousLoadListener

All Superinterfaces:
EventListener

public interface AsynchronousLoadListener extends 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 Type
    Method
    Description
    void
    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 - If true, the load has been completed successfully.