simtools.images.svg
Interface SVGImageFactory.FactoryListener

All Known Implementing Classes:
SvgImagePreview, SvgMapper.SvgEditor, SvgShape, TestSVGShape
Enclosing class:
SVGImageFactory

public static interface SVGImageFactory.FactoryListener

The listener for the image users


Method Summary
 void done(java.awt.image.BufferedImage image)
          If the loading is successful as well as the painting then the resulting image is provided to the caller
 void failed(java.lang.String msg)
          If the loading is not successful or the painting then the error message is provided to the caller
 

Method Detail

done

void done(java.awt.image.BufferedImage image)
If the loading is successful as well as the painting then the resulting image is provided to the caller

Parameters:
image - the resulting image

failed

void failed(java.lang.String msg)
If the loading is not successful or the painting then the error message is provided to the caller

Parameters:
msg - the error message