* use {@linkplain ImageCapturer ImageCapturer} and
* {@linkplain ImageLoader} interfaces instead.
*/
public ImageFactory setImageFactory(ImageFactory factory) {
if (factory instanceof ImageFactoryImpl) {
ImageFactoryImpl impl = (ImageFactoryImpl) factory;
setImageCapturer(impl.getImageCapturer());
setImageLoader(impl.getImageLoader());
}
return (ImageFactory) setProperty(ImageFactory.class, factory);
}