Interface ThumbnailColumn<C extends ThumbnailColumn<C>>
- All Superinterfaces:
Column<C>
,Comparable<C>
,Component<C>
,Copyable<C>
,CustomCssComponent<C>
,Serializable
- All Known Implementing Classes:
DefaultThumbnailColumn
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)
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface com.broadleafcommerce.metadata.dsl.core.Column
Column.ColumnAttributes
-
Field Summary
Fields inherited from interface com.broadleafcommerce.metadata.dsl.core.CustomCssComponent
CSS_ATTRIBUTE
-
Method Summary
Modifier and TypeMethodDescriptiondefault C
thumbnailHeight
(int thumbnailHeight) Sets theThumbnailColumn.Attributes.HEIGHT
attribute to the provided value in pixels.default C
thumbnailHeight
(String thumbnailHeight) Sets theThumbnailColumn.Attributes.HEIGHT
attribute to the provided value.default C
thumbnailType
(String thumbnailType) Sets theThumbnailColumn.Attributes.TYPE
attribute to the provided value.default C
thumbnailTypeKey
(String thumbnailTypeKey) Sets theThumbnailColumn.Attributes.TYPE_KEY
attribute to the provided value.default C
thumbnailWidth
(int thumbnailWidth) Sets theThumbnailColumn.Attributes.WIDTH
attribute to the provided value in pixels.default C
thumbnailWidth
(String thumbnailWidth) Sets theThumbnailColumn.Attributes.WIDTH
attribute to the provided value.Methods inherited from interface com.broadleafcommerce.metadata.dsl.core.Column
addCellCssClass, addCellCssClass, addCellCssClass, addHeaderCssClass, addHeaderCssClass, addHeaderCssClass, align, alignCenter, alignLeft, alignRight, clearCellCssClasses, clearHeaderCssClasses, colSpan, colSpan, filterAndSortAlias, getAlign, getColSpan, getDataCellCssClasses, getHeaderCssClasses, getName, getWidth, isSortable, name, notSortable, removeCellCssClass, removeCellCssClass, removeCellCssClass, removeHeaderCssClass, removeHeaderCssClass, removeHeaderCssClass, setAlign, setColSpan, setName, setSortable, setWidth, sortable, sortable, width
Methods inherited from interface java.lang.Comparable
compareTo
Methods inherited from interface com.broadleafcommerce.metadata.dsl.core.Component
addAction, addAction, addComponent, addEndpoint, addEndpoint, apply, attribute, augmentationKey, classifier, clearConditionals, clearEndpoints, conditional, conditionals, description, description, findAction, findAction, findActions, findAttribute, findAttribute, findComponent, findComponent, findComponents, findEndpoint, findEndpoint, findEndpoint, findEndpoints, get, get, getAction, getAction, getActions, getActionsList, getAttribute, getAttribute, getAttributes, getAugmentationKey, getClassifier, getComponent, getComponent, getComponents, getComponentsList, getConditionals, getDescription, getEndpoint, getEndpoint, getEndpoints, getEndpointsList, getId, getLabel, getOrder, getScope, getType, hasAction, hasAttribute, hasComponent, hasEndpoint, id, isAugmentable, isTranslatable, label, label, notTranslatable, order, removeAction, removeAttribute, removeComponent, removeEndpoint, scope, self, setActions, setAttributes, setAugmentationKey, setClassifier, setComponents, setConditionals, setDescription, setEndpoints, setId, setLabel, setOrder, setScope, setTranslatable, setType, translatable, translatable, type
Methods inherited from interface com.broadleafcommerce.metadata.dsl.core.CustomCssComponent
addCssClass, addCssClass, addCssClass, clearCssClasses, getCssClasses, removeCssClass, removeCssClass, removeCssClass
-
Method Details
-
thumbnailHeight
Sets theThumbnailColumn.Attributes.HEIGHT
attribute to the provided value.- Parameters:
thumbnailHeight
- the height- Returns:
- this
-
thumbnailHeight
Sets theThumbnailColumn.Attributes.HEIGHT
attribute to the provided value in pixels.- Parameters:
thumbnailHeight
- the height in pixels- Returns:
- this
-
thumbnailTypeKey
Sets theThumbnailColumn.Attributes.TYPE_KEY
attribute to the provided value.- Parameters:
thumbnailTypeKey
- the type key- Returns:
- this
-
thumbnailType
Sets theThumbnailColumn.Attributes.TYPE
attribute to the provided value.- Parameters:
thumbnailType
- the type- Returns:
- this
-
thumbnailWidth
Sets theThumbnailColumn.Attributes.WIDTH
attribute to the provided value.- Parameters:
thumbnailWidth
- the width- Returns:
- this
-
thumbnailWidth
Sets theThumbnailColumn.Attributes.WIDTH
attribute to the provided value in pixels.- Parameters:
thumbnailWidth
- the width in pixels- Returns:
- this
-