Class TableColumnGroup
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.layout.model.table.columns.TableColumnGroup
-
public class TableColumnGroup extends Object
A table column group contains one or more table columns. The table column group is a normalized element. A column group may defined a shared background for all columns. The column group may define a minimum width. If the contained cells do not use all of that granted width, they get some extra padding. As Mozilla does not take the width of a colgroup into account, we will neither.- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description TableColumnGroup()
TableColumnGroup(Border border)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addColumn(TableColumn column)
void
freeze()
Border
getBorder()
int
getColSpan()
TableColumn
getColumn(int pos)
int
getColumnCount()
void
setColSpan(int colSpan)
-
-
-
Constructor Detail
-
TableColumnGroup
public TableColumnGroup(Border border)
-
TableColumnGroup
public TableColumnGroup()
-
-
Method Detail
-
getColSpan
public int getColSpan()
-
setColSpan
public void setColSpan(int colSpan)
-
freeze
public void freeze()
-
addColumn
public void addColumn(TableColumn column)
-
getBorder
public Border getBorder()
-
getColumnCount
public int getColumnCount()
-
getColumn
public TableColumn getColumn(int pos)
-
-