Interface ThumbnailColumn<C extends ThumbnailColumn<C>>

All Superinterfaces:
Column<C>, Comparable<C>, Component<C>, Copyable<C>, CustomCssComponent<C>, Serializable
All Known Implementing Classes:
DefaultThumbnailColumn

public interface ThumbnailColumn<C extends ThumbnailColumn<C>> extends Column<C>
Represents the metadata for a ColumnTypes.THUMBNAIL. The name of the column should target the property that has the fully qualified asset URL.
Author:
Nick Crum (ncrum)
  • Method Details

    • thumbnailHeight

      default C thumbnailHeight(String thumbnailHeight)
      Sets the ThumbnailColumn.Attributes.HEIGHT attribute to the provided value.
      Parameters:
      thumbnailHeight - the height
      Returns:
      this
    • thumbnailHeight

      default C thumbnailHeight(int thumbnailHeight)
      Sets the ThumbnailColumn.Attributes.HEIGHT attribute to the provided value in pixels.
      Parameters:
      thumbnailHeight - the height in pixels
      Returns:
      this
    • thumbnailTypeKey

      default C thumbnailTypeKey(String thumbnailTypeKey)
      Sets the ThumbnailColumn.Attributes.TYPE_KEY attribute to the provided value.
      Parameters:
      thumbnailTypeKey - the type key
      Returns:
      this
    • thumbnailType

      default C thumbnailType(String thumbnailType)
      Sets the ThumbnailColumn.Attributes.TYPE attribute to the provided value.
      Parameters:
      thumbnailType - the type
      Returns:
      this
    • thumbnailWidth

      default C thumbnailWidth(String thumbnailWidth)
      Sets the ThumbnailColumn.Attributes.WIDTH attribute to the provided value.
      Parameters:
      thumbnailWidth - the width
      Returns:
      this
    • thumbnailWidth

      default C thumbnailWidth(int thumbnailWidth)
      Sets the ThumbnailColumn.Attributes.WIDTH attribute to the provided value in pixels.
      Parameters:
      thumbnailWidth - the width in pixels
      Returns:
      this