Interface ThumbnailColumn<C extends ThumbnailColumn<C>>
-
- All Superinterfaces:
Column<C>,Comparable<C>,Component<C>,Copyable<C>,Serializable
- All Known Implementing Classes:
DefaultThumbnailColumn
public interface ThumbnailColumn<C extends ThumbnailColumn<C>> extends Column<C>
Represents the metadata for aColumnTypes.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 Classes Modifier and Type Interface Description static classThumbnailColumn.Attributes-
Nested classes/interfaces inherited from interface com.broadleafcommerce.metadata.dsl.core.Column
Column.ColumnAttributes
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default 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, 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, 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 Detail
-
thumbnailHeight
default C thumbnailHeight(String thumbnailHeight)
Sets theThumbnailColumn.Attributes.HEIGHTattribute to the provided value.- Parameters:
thumbnailHeight- the height- Returns:
- this
-
thumbnailHeight
default C thumbnailHeight(int thumbnailHeight)
Sets theThumbnailColumn.Attributes.HEIGHTattribute to the provided value in pixels.- Parameters:
thumbnailHeight- the height in pixels- Returns:
- this
-
thumbnailTypeKey
default C thumbnailTypeKey(String thumbnailTypeKey)
Sets theThumbnailColumn.Attributes.TYPE_KEYattribute to the provided value.- Parameters:
thumbnailTypeKey- the type key- Returns:
- this
-
thumbnailType
default C thumbnailType(String thumbnailType)
Sets theThumbnailColumn.Attributes.TYPEattribute to the provided value.- Parameters:
thumbnailType- the type- Returns:
- this
-
thumbnailWidth
default C thumbnailWidth(String thumbnailWidth)
Sets theThumbnailColumn.Attributes.WIDTHattribute to the provided value.- Parameters:
thumbnailWidth- the width- Returns:
- this
-
thumbnailWidth
default C thumbnailWidth(int thumbnailWidth)
Sets theThumbnailColumn.Attributes.WIDTHattribute to the provided value in pixels.- Parameters:
thumbnailWidth- the width in pixels- Returns:
- this
-
-