Package org.opencms.ui.components
Class CmsResourceTable.ColumnBuilder
java.lang.Object
org.opencms.ui.components.CmsResourceTable.ColumnBuilder
- Enclosing class:
- CmsResourceTable
Helper class for easily configuring a set of columns to display, together with their visibility / collapsed status.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Sets up the table and its container using the columns configured so far.Adds a new column.column
(CmsResourceTableProperty prop, int flags) Adds a new column.<p<
-
Constructor Details
-
ColumnBuilder
public ColumnBuilder()
-
-
Method Details
-
buildColumns
Sets up the table and its container using the columns configured so far. -
column
Adds a new column.- Parameters:
prop
- the column- Returns:
- this object
-
column
Adds a new column.<p<- Parameters:
prop
- the columnflags
- the flags for the column- Returns:
- this object
-