Class DefaultColumnGroup
java.lang.Object
de.hybris.platform.cockpit.model.listview.impl.DefaultColumnGroup
- All Implemented Interfaces:
ColumnGroup
Default column group implementation.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddColumn(ColumnDescriptor column) voidaddColumnGroup(ColumnGroup group) voidReturns a list containing this group and all the groups held by thisColumnGroupand its sub groups.Returns allcolumnsin thisColumnGroupand its sub groups.Returns all the sub groups directly held by thisColumnGroup.Returns allcolumnsdirectly held by thisColumnGroup.getName()Returns the name of thisColumnGroup.Returns the parentColumnGroupof this group ornullif it is a root container.intgetSize()Returns the number of columns directly in thisColumnGroup.intReturns the total number of columns in thisColumnGroupand its sub groups.voidsetColumnGroups(List<ColumnGroup> groups) Sets the sub groups included in this group togroups.voidsetColumns(List<ColumnDescriptor> columns) Sets the columns of this group tocolumns.voidSets the name of this group toname.voidsetParentColumnGroup(ColumnGroup parentGroup)
-
Constructor Details
-
DefaultColumnGroup
-
-
Method Details
-
getColumnGroupConfiguration
-
setColumnGroups
Sets the sub groups included in this group togroups.- Parameters:
groups- sub groups of this group
-
getColumnGroups
Description copied from interface:ColumnGroupReturns all the sub groups directly held by thisColumnGroup.- Specified by:
getColumnGroupsin interfaceColumnGroup- Returns:
- the sub groups of this
ColumnGroup - See Also:
-
addColumn
-
clearDynamicColumns
public void clearDynamicColumns() -
addColumnGroup
-
setColumns
Sets the columns of this group tocolumns.- Parameters:
columns- the columns
-
getColumns
Description copied from interface:ColumnGroupReturns allcolumnsdirectly held by thisColumnGroup.- Specified by:
getColumnsin interfaceColumnGroup- Returns:
- all columns assigned directly to this group
- See Also:
-
setName
Sets the name of this group toname.- Parameters:
name-
-
getName
Description copied from interface:ColumnGroupReturns the name of thisColumnGroup.- Specified by:
getNamein interfaceColumnGroup- Returns:
- the name of this column group
-
setParentColumnGroup
-
getParentColumnGroup
Description copied from interface:ColumnGroupReturns the parentColumnGroupof this group ornullif it is a root container.- Specified by:
getParentColumnGroupin interfaceColumnGroup- Returns:
- the column group which this column group is a part of
-
getSize
public int getSize()Description copied from interface:ColumnGroupReturns the number of columns directly in thisColumnGroup.- Specified by:
getSizein interfaceColumnGroup- Returns:
- the number of columns assigned directly to this group
- See Also:
-
getTotalSize
public int getTotalSize()Description copied from interface:ColumnGroupReturns the total number of columns in thisColumnGroupand its sub groups.- Specified by:
getTotalSizein interfaceColumnGroup- Returns:
- the total number of columns assigned to this group or any of its sub groups
- See Also:
-
getAllColumns
Description copied from interface:ColumnGroupReturns allcolumnsin thisColumnGroupand its sub groups.- Specified by:
getAllColumnsin interfaceColumnGroup- Returns:
- all columns assigned to this group or any of its sub groups
- See Also:
-
getAllHiddenColumns
- Specified by:
getAllHiddenColumnsin interfaceColumnGroup
-
getAllVisibleColumns
- Specified by:
getAllVisibleColumnsin interfaceColumnGroup
-
getHiddenColumns
- Specified by:
getHiddenColumnsin interfaceColumnGroup
-
getVisibleColumns
- Specified by:
getVisibleColumnsin interfaceColumnGroup
-
getAllColumnGroups
Description copied from interface:ColumnGroupReturns a list containing this group and all the groups held by thisColumnGroupand its sub groups.- Specified by:
getAllColumnGroupsin interfaceColumnGroup- Returns:
- the sub groups of this
ColumnGroupand their sub groups - See Also:
-