Describes one column of a TableViewMeta table: its heading, whether it can be sorted, and the CSS classes and attributes to render on it. Built by ColumnMetaBuilder rather than constructed directly.
Properties
| Property | Returns | Description |
|---|---|---|
| attributes | Map<String,String> | Extra HTML attributes to render on this column's cells, keyed by attribute name. |
| classes | Set<String> | The CSS classes to apply to this column's cells. |
| classesList | String | The column's CSS classes rendered as a single space-separated string, ready to use directly in a class attribute. |
| id | String | Identifier for the column, used to correlate it with a value on each record. |
| sortable | boolean | Whether this column supports sorting the table by its values. |
| title | String | The heading text displayed for this column. |
| width | Integer | The column's width, if one was set. |
Methods
getId()
Returns: String
Identifier for the column, used to correlate it with a value on each record.
getTitle()
Returns: String
The heading text displayed for this column.
isSortable()
Returns: boolean
Whether this column supports sorting the table by its values.
getWidth()
Returns: Integer
The column's width, if one was set.
getClasses()
Returns: Set<String>
The CSS classes to apply to this column's cells.
getAttributes()
Returns: Map<String,String>
Extra HTML attributes to render on this column's cells, keyed by attribute name.
getClassesList()
Returns: String
The column's CSS classes rendered as a single space-separated string, ready to use directly in a class attribute.