Save This Page
Home » pentaho-reporting-engine-classic-0.8.10 » org.jfree.report.modules.output.table » base » [javadoc | source]
org.jfree.report.modules.output.table.base
abstract public class: TableCellData [javadoc | source]
java.lang.Object
   org.jfree.report.modules.output.table.base.TableCellData

All Implemented Interfaces:
    Cloneable

Direct Known Subclasses:
    HtmlCellData, TableCellBackground, DefaultExcelCellData, RTFImageCellData, ExcelCellData, DateExcelCellData, RTFCellData, RTFTextCellData, HtmlTextCellData, NumericExcelCellData, HtmlImageCellData, TableBandArea, CSVCellData

Encapsulates cell information, either style information or cell data, and the cell bounds. The cell bounds are used by the TableGridLayout to place the cell into a TableGrid .

This class contains all data needed to successfully layout the table grid. The cell style information is dependent on the concrete implementation and not defined here.

Constructor:
 public TableCellData(Rectangle2D outerBounds) 
    Creates a new TableCellData object.
    Parameters:
    outerBounds - the bounds (null not permitted).
Method from org.jfree.report.modules.output.table.base.TableCellData Summary:
clone,   getBounds,   isBackground,   setBounds
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from org.jfree.report.modules.output.table.base.TableCellData Detail:
 public Object clone() throws CloneNotSupportedException 
 public Rectangle2D getBounds() 
    Gets the bounds of this table cell data.
 abstract public boolean isBackground()
    Returns true, if this cell data definition is a background definition and does not contain cell data.
 protected  void setBounds(Rectangle2D bounds) 
    Redefines the bounds for this cell data. This should not be called from user implementations - it is only needed to merge background cells and should never used anywhere else.