Interface AsynchronousLoadListener

  • All Superinterfaces:
    java.util.EventListener

    public interface AsynchronousLoadListener
    extends java.util.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 Detail

      • completed

        void completed​(boolean success)
        Indicates that the asynchronous load has been completed.
        Parameters:
        success - If true, the load has been completed successfully.