Package 

Interface DrawableFactory


  • 
    public interface DrawableFactory
    
                        

    Drawable factory to create Drawables for given images.

    • Method Summary

      Modifier and Type Method Description
      abstract Boolean supportsImageType(CloseableImage image) Returns true if the factory can create a Drawable for the given image.
      abstract Drawable createDrawable(CloseableImage image) Create a drawable for the given image.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • createDrawable

         abstract Drawable createDrawable(CloseableImage image)

        Create a drawable for the given image. It is guaranteed that this method is only called if supportsImageType(CloseableImage) returned true.

        Parameters:
        image - the image to create the drawable for