Interface PixmapImageBuilder<PX>

    • Method Detail

      • setImageInputStream

        void setImageInputStream​(java.io.InputStream aImageStream)
        Sets the InputStream for retrieving the image data for the image property.
        Parameters:
        aImageStream - The image which's InputStream is to be stored by the image InputStream property.
      • withImageInputStream

        default PixmapImageBuilder<PX> withImageInputStream​(java.io.InputStream aImageStream)
        Sets the input stream for retrieving the image data for the image property.
        Parameters:
        aImageStream - The image which's InputStream is to be stored by the image InputStream property.
        Returns:
        The builder for applying multiple build operations.
      • setImageURL

        void setImageURL​(java.net.URL aImageUrl)
        Sets the URL for retrieving the image data for the image property.
        Parameters:
        aImageUrl - The image which's URL is to be stored by the image URL property.
      • withImageURL

        default PixmapImageBuilder<PX> withImageURL​(java.net.URL aUrl)
        Sets the URL for retrieving the image data for the image property.
        Parameters:
        aUrl - the URL
        Returns:
        The builder for applying multiple build operations.
      • setImageFile

        default void setImageFile​(java.io.File aImageFile)
                           throws java.io.FileNotFoundException
        Sets the URL for retrieving the image data for the image property.
        Parameters:
        aImageFile - The image file which's InputStream is to be stored by the image InputStream property.
        Throws:
        java.io.FileNotFoundException - in case the file was not found.
      • withImageFile

        default PixmapImageBuilder<PX> withImageFile​(java.io.File aImageFile)
                                              throws java.io.FileNotFoundException
        Sets the File for retrieving the image data for the image property.
        Parameters:
        aImageFile - The image file which's InputStream is to be stored by the image InputStream property.
        Returns:
        The builder for applying multiple build operations.
        Throws:
        java.io.FileNotFoundException - in case the file was not found.