Interface ThumbnailColumn<C extends ThumbnailColumn<C>>
- All Superinterfaces:
Column<C>,Comparable<C>,Component<C>,Copyable<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 -
Method Summary
Modifier and TypeMethodDescriptiondefault CthumbnailHeight(int thumbnailHeight) Sets theThumbnailColumn.Attributes.HEIGHTattribute to the provided value in pixels.default CthumbnailHeight(String thumbnailHeight) Sets theThumbnailColumn.Attributes.HEIGHTattribute to the provided value.default CthumbnailType(String thumbnailType) Sets theThumbnailColumn.Attributes.TYPEattribute to the provided value.default CthumbnailTypeKey(String thumbnailTypeKey) Sets theThumbnailColumn.Attributes.TYPE_KEYattribute to the provided value.default CthumbnailWidth(int thumbnailWidth) Sets theThumbnailColumn.Attributes.WIDTHattribute to the provided value in pixels.default CthumbnailWidth(String thumbnailWidth) Sets theThumbnailColumn.Attributes.WIDTHattribute to the provided value.Methods inherited from interface com.broadleafcommerce.metadata.dsl.core.Column
align, alignCenter, alignLeft, alignRight, colSpan, colSpan, filterAndSortAlias, getAlign, getColSpan, getName, getWidth, isSortable, name, notSortable, setAlign, setColSpan, setName, setSortable, setWidth, sortable, sortable, widthMethods inherited from interface java.lang.Comparable
compareToMethods 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, findComponent, findComponent, findComponents, 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
-
Method Details
-
thumbnailHeight
Sets theThumbnailColumn.Attributes.HEIGHTattribute to the provided value.- Parameters:
thumbnailHeight- the height- Returns:
- this
-
thumbnailHeight
Sets theThumbnailColumn.Attributes.HEIGHTattribute to the provided value in pixels.- Parameters:
thumbnailHeight- the height in pixels- Returns:
- this
-
thumbnailTypeKey
Sets theThumbnailColumn.Attributes.TYPE_KEYattribute to the provided value.- Parameters:
thumbnailTypeKey- the type key- Returns:
- this
-
thumbnailType
Sets theThumbnailColumn.Attributes.TYPEattribute to the provided value.- Parameters:
thumbnailType- the type- Returns:
- this
-
thumbnailWidth
Sets theThumbnailColumn.Attributes.WIDTHattribute to the provided value.- Parameters:
thumbnailWidth- the width- Returns:
- this
-
thumbnailWidth
Sets theThumbnailColumn.Attributes.WIDTHattribute to the provided value in pixels.- Parameters:
thumbnailWidth- the width in pixels- Returns:
- this
-