Class AbstractColumnModel
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.core.layout.model.table.columns.AbstractColumnModel
-
- All Implemented Interfaces:
Cloneable
,TableColumnModel
- Direct Known Subclasses:
SeparateColumnModel
public abstract class AbstractColumnModel extends Object implements TableColumnModel
Creation-Date: 21.07.2006, 19:21:43- Author:
- Thomas Morgner
-
-
Constructor Summary
Constructors Constructor Description AbstractColumnModel()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addAutoColumn()
void
addColumnGroup(TableColumnGroup column)
void
clear()
Object
clone()
long
getBorderSpacing()
long
getCellPosition(int columnIndex)
TableColumn
getColumn(int i)
int
getColumnCount()
TableColumnGroup
getColumnGroup(int i)
int
getColumnGroupCount()
The column count may change over time, when new columnGroups get added.TableColumn[]
getColumns()
RenderLength
getDefinedWidth(int columnIndex)
long
getEffectiveColumnSize(int columnIndex)
TableColumnGroup
getGroupForIndex(int idx)
boolean
isIncrementalModeSupported()
boolean
isValidated()
void
updateCellSize(int columnIndex, int colSpan, long cachedWidth)
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pentaho.reporting.engine.classic.core.layout.model.table.columns.TableColumnModel
getCachedSize, validateSizes
-
-
-
-
Method Detail
-
addColumnGroup
public void addColumnGroup(TableColumnGroup column)
- Specified by:
addColumnGroup
in interfaceTableColumnModel
-
addAutoColumn
public void addAutoColumn()
- Specified by:
addAutoColumn
in interfaceTableColumnModel
-
isIncrementalModeSupported
public boolean isIncrementalModeSupported()
- Specified by:
isIncrementalModeSupported
in interfaceTableColumnModel
-
getColumnGroupCount
public int getColumnGroupCount()
The column count may change over time, when new columnGroups get added.- Returns:
-
getColumnCount
public int getColumnCount()
- Specified by:
getColumnCount
in interfaceTableColumnModel
-
getColumnGroup
public TableColumnGroup getColumnGroup(int i)
-
getColumn
public TableColumn getColumn(int i)
-
getColumns
public TableColumn[] getColumns()
-
isValidated
public boolean isValidated()
-
getBorderSpacing
public long getBorderSpacing()
- Specified by:
getBorderSpacing
in interfaceTableColumnModel
-
getGroupForIndex
public TableColumnGroup getGroupForIndex(int idx)
-
clone
public Object clone() throws CloneNotSupportedException
- Specified by:
clone
in interfaceTableColumnModel
- Overrides:
clone
in classObject
- Throws:
CloneNotSupportedException
-
clear
public void clear()
- Specified by:
clear
in interfaceTableColumnModel
-
getCellPosition
public long getCellPosition(int columnIndex)
- Specified by:
getCellPosition
in interfaceTableColumnModel
-
updateCellSize
public void updateCellSize(int columnIndex, int colSpan, long cachedWidth)
- Specified by:
updateCellSize
in interfaceTableColumnModel
-
getDefinedWidth
public RenderLength getDefinedWidth(int columnIndex)
- Specified by:
getDefinedWidth
in interfaceTableColumnModel
-
getEffectiveColumnSize
public long getEffectiveColumnSize(int columnIndex)
- Specified by:
getEffectiveColumnSize
in interfaceTableColumnModel
-
-