Package org.opencms.ui.util.table
Annotation Type Column
Annotation used to mark up bean properties with metadata for table columns.
-
Required Element Summary
-
Optional Element Summary
Modifier and TypeOptional ElementDescriptionfloat
Expand ratio for the column (use negative values for no expand ratio).boolean
Flag indicating whether column should be filterable by default.int
The order key.The style which should be used for a cell in this column.The view in which the column should be displayed.int
The width (use -1 to not set the width).
-
Element Details
-
header
The message key for the column header (if no given message is found, will be used as a literal header).- Returns:
- the message key for the column header
-
-
-
expandRatio
float expandRatioExpand ratio for the column (use negative values for no expand ratio).- Returns:
- the expand ratoio
- Default:
- -1.0f
-
filterable
boolean filterableFlag indicating whether column should be filterable by default.- Returns:
- true if the column should be filterable
- Default:
- true
-
order
int orderThe order key.The ordering of columns is determined by the relative sizes of their order keys.
- Returns:
- the order key
- Default:
- -1
-
styleName
The style which should be used for a cell in this column.- Returns:
- the style
- Default:
- ""
-
view
The view in which the column should be displayed.- Returns:
- the view
- Default:
- ""
-
width
int widthThe width (use -1 to not set the width).- Returns:
- the width
- Default:
- -1
-