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 String
HEIGHT
Attribute used to denote the max height of the asset thumbnail itself.static String
TYPE
Attribute used to denote the fallback or default "type" for the asset.static String
TYPE_KEY
Attribute used to denote the property key where the "type" of the asset can be found o on the row.static String
WIDTH
Attribute used to denote the max width of the asset thumbnail itself.
-
-
-
Field Detail
-
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:
- Constant Field Values
-
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, theTYPE
will be used as the asset type.- See Also:
- Constant Field Values
-
TYPE
public static final String TYPE
Attribute used to denote the fallback or default "type" for the asset. This is used ifTYPE_KEY
is undefined, or a value is not found for the property. If left undefined, it will be defaulted to "IMAGE".- See Also:
- Constant Field Values
-
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:
- Constant Field Values
-
-