org.jfree.layouting.renderer.model.table.cols

Class 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
TableColumnGroup(Border border)
TableColumnGroup()
Method Summary
voidaddColumn(TableColumn column)
voidfreeze()
BordergetBorder()
TableColumngetColumn(int pos)
intgetColumnCount()

Constructor Detail

TableColumnGroup

public TableColumnGroup(Border border)

TableColumnGroup

public TableColumnGroup()

Method Detail

addColumn

public void addColumn(TableColumn column)

freeze

public void freeze()

getBorder

public Border getBorder()

getColumn

public TableColumn getColumn(int pos)

getColumnCount

public int getColumnCount()