Interface ColumnGroup
- All Known Implementing Classes:
DefaultColumnGroup
public interface ColumnGroup
A
ColumnGroup is a container that can hold ColumnDescriptors as well as other column groups. It
allows columns to be organized in a tree-like structure.-
Method Summary
Modifier and TypeMethodDescriptionReturns 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.
-
Method Details
-
getName
String getName()Returns the name of thisColumnGroup.- Returns:
- the name of this column group
-
getColumns
List<ColumnDescriptor> getColumns()Returns allcolumnsdirectly held by thisColumnGroup.- Returns:
- all columns assigned directly to this group
- See Also:
-
getAllColumns
List<ColumnDescriptor> getAllColumns()Returns allcolumnsin thisColumnGroupand its sub groups.- Returns:
- all columns assigned to this group or any of its sub groups
- See Also:
-
getSize
int getSize()Returns the number of columns directly in thisColumnGroup.- Returns:
- the number of columns assigned directly to this group
- See Also:
-
getVisibleColumns
List<ColumnDescriptor> getVisibleColumns() -
getAllVisibleColumns
List<ColumnDescriptor> getAllVisibleColumns() -
getHiddenColumns
List<ColumnDescriptor> getHiddenColumns() -
getAllHiddenColumns
List<ColumnDescriptor> getAllHiddenColumns() -
getTotalSize
int getTotalSize()Returns the total number of columns in thisColumnGroupand its sub groups.- Returns:
- the total number of columns assigned to this group or any of its sub groups
- See Also:
-
getParentColumnGroup
ColumnGroup getParentColumnGroup()Returns the parentColumnGroupof this group ornullif it is a root container.- Returns:
- the column group which this column group is a part of
-
getColumnGroups
List<ColumnGroup> getColumnGroups()Returns all the sub groups directly held by thisColumnGroup.- Returns:
- the sub groups of this
ColumnGroup - See Also:
-
getAllColumnGroups
List<ColumnGroup> getAllColumnGroups()Returns a list containing this group and all the groups held by thisColumnGroupand its sub groups.- Returns:
- the sub groups of this
ColumnGroupand their sub groups - See Also:
-