Interface ThumbnailBatch<T>

Type Parameters:
T - the type of element for which thumbnails are created
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface ThumbnailBatch<T>
Creates thumbnails for a particular batch of objects that can be calibrated to have similar properties (identical scale etc.)
Author:
Owen Feehan
  • Method Summary

    Modifier and Type
    Method
    Description
    thumbnailFor(T element)
    Creates a thumbnail for an element in the batch.
  • Method Details

    • thumbnailFor

      DisplayStack thumbnailFor(T element) throws CreateException
      Creates a thumbnail for an element in the batch.
      Parameters:
      element - the element for which to create a thumbnail
      Returns:
      a DisplayStack representing the thumbnail
      Throws:
      CreateException - if the thumbnail creation fails