Class ThumbnailColumn.Attributes

java.lang.Object
com.broadleafcommerce.metadata.dsl.core.extension.columns.ThumbnailColumn.Attributes
Enclosing interface:
ThumbnailColumn<C extends ThumbnailColumn<C>>

public static final class ThumbnailColumn.Attributes extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Attribute used to denote the max height of the asset thumbnail itself.
    static final String
    Attribute used to denote the fallback or default "type" for the asset.
    static final String
    Attribute used to denote the property key where the "type" of the asset can be found o on the row.
    static final String
    Attribute used to denote the max width of the asset thumbnail itself.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • HEIGHT

      public static final String HEIGHT
      Attribute used to denote the max height of the asset thumbnail itself. If left undefined, this will be defaulted to "3rem".

      Note that this sets the max height of the thumbnail. This is so that the thumbnail is able to be scaled down for mobile views if necessary.

      See Also:
    • TYPE_KEY

      public static final String TYPE_KEY
      Attribute used to denote the property key where the "type" of the asset can be found o on the row. If left undefined, the TYPE will be used as the asset type.
      See Also:
    • TYPE

      public static final String TYPE
      Attribute used to denote the fallback or default "type" for the asset. This is used if TYPE_KEY is undefined, or a value is not found for the property. If left undefined, it will be defaulted to "IMAGE".
      See Also:
    • WIDTH

      public static final String WIDTH
      Attribute used to denote the max width of the asset thumbnail itself. If left undefined, this will be defaulted to "3rem".

      Note that this sets the max width of the thumbnail. This is so that the thumbnail is able to be scaled down for mobile views if necessary.

      See Also: