public interface Column<C extends Column<C>> extends Component<C>
Modifier and Type | Interface and Description |
---|---|
static class |
Column.ColumnAttributes |
Modifier and Type | Method and Description |
---|---|
default C |
align(String align)
Sets the alignment of the column.
|
default C |
alignCenter()
Aligns the column data to the "center".
|
default C |
alignLeft()
Aligns the column data to the "left".
|
default C |
alignRight()
Aligns the column data to the "right".
|
default C |
colSpan(int colSpan)
Sets the number of column lengths this column spans.
|
default C |
colSpan(String colSpan)
Sets the number of column lengths this column spans.
|
default C |
filterAndSortAlias(String filterAndSortAlias)
The alias name that is used instead of the original property name.
|
String |
getAlign()
Defines the alignment of column data as either "left", "center", or "right".
|
String |
getColSpan()
Defines the number of column lengths this column spans.
|
String |
getName()
The name of the property this column will display.
|
String |
getWidth()
Defines a fixed width for this column.
|
boolean |
isSortable()
Whether or not the column is sortable.
|
default C |
name(String name)
Sets the name of the property this column displays.
|
default C |
notSortable()
Sets this column to not be sortable.
|
void |
setAlign(String align)
Sets the alignment.
|
void |
setColSpan(String colSpan)
Sets the column span.
|
void |
setName(String name)
Sets the name.
|
void |
setSortable(boolean sortable)
Sets whether or not sortable.
|
void |
setWidth(String width)
Sets the width of the column.
|
default C |
sortable()
Sets this column to be sortable.
|
default C |
sortable(boolean isSortable)
Sets this column to be sortable or not.
|
default C |
width(String width)
Sets a fixed width for this column.
|
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
String getAlign()
String getColSpan()
String getName()
boolean isSortable()
String getWidth()
Supports width values compatible with the CSS width property, for example:
void setAlign(String align)
align
- the alignmentvoid setColSpan(String colSpan)
colSpan
- the col spanvoid setName(String name)
name
- the namevoid setSortable(boolean sortable)
sortable
- whether or not sortablevoid setWidth(String width)
width
- the widthdefault C align(String align)
align
- the alignmentdefault C alignLeft()
default C alignRight()
default C alignCenter()
default C colSpan(String colSpan)
colSpan
- the col spandefault C colSpan(int colSpan)
colSpan
- the col spandefault C name(String name)
name
- the namedefault C sortable(boolean isSortable)
isSortable
- whether or not sortabledefault C sortable()
default C notSortable()
default C width(String width)
Supports width values compatible with the CSS width property, for example:
width
- the widthdefault C filterAndSortAlias(String filterAndSortAlias)
filterAndSortAlias
- the alias name that should be used instead of the original property
nameCopyright © 2021. All rights reserved.