Interface EnumColumn<C extends EnumColumn<C>>
-
- All Superinterfaces:
Column<C>
,Comparable<C>
,Component<C>
,Copyable<C>
,Serializable
- All Known Implementing Classes:
DefaultEnumArrayColumn
,DefaultEnumColumn
public interface EnumColumn<C extends EnumColumn<C>> extends Column<C>
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
EnumColumn.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 C
clearOptions()
Removes all the available options for the column.default C
option(SelectOption... options)
Provides options which can be shown in the column.default C
option(String value, String label)
Provides an option which can be shown in the column.default C
options(Collection<SelectOption> optionsToAdd)
Provides options which can be shown in the column using a collection ofSelectOptions
.-
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
-
option
default C option(String value, String label)
Provides an option which can be shown in the column.- Parameters:
value
- the value of the optionlabel
- the label of the option- Returns:
- this
-
option
default C option(SelectOption... options)
Provides options which can be shown in the column.- Parameters:
options
-SelectOptions
to be set as options- Returns:
- this
-
options
default C options(Collection<SelectOption> optionsToAdd)
Provides options which can be shown in the column using a collection ofSelectOptions
.- Parameters:
optionsToAdd
- A collection ofSelectOptions
- Returns:
- this
-
clearOptions
default C clearOptions()
Removes all the available options for the column.- Returns:
- this
-
-