public interface EnumColumn<C extends EnumColumn<C>> extends Column<C>
Modifier and Type | Interface and Description |
---|---|
static class |
EnumColumn.Attributes |
Column.ColumnAttributes
Modifier and Type | Method and 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 of
SelectOptions . |
align, alignCenter, alignLeft, alignRight, colSpan, colSpan, filterAndSortAlias, getAlign, getColSpan, getName, getWidth, isSortable, name, notSortable, setAlign, setColSpan, setName, setSortable, setWidth, sortable, sortable, width
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
compareTo
default C option(String value, String label)
value
- the value of the optionlabel
- the label of the optiondefault C option(SelectOption... options)
options
- SelectOptions
to be set as optionsdefault C options(Collection<SelectOption> optionsToAdd)
SelectOptions
.optionsToAdd
- A collection of SelectOptions
default C clearOptions()
Copyright © 2021. All rights reserved.