|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.jrefinery.report.targets.table.TableCellData | +--com.jrefinery.report.targets.table.excel.ExcelCellData
Abstract base class for all Excel data cells.
The Excel cell style is used to define excel specific format informations, such as Colors, FormatStrings, Fonts etc.
The cell implementation is responsible for updating the externaly created HSSFCell, so that the format and the data applied to the cell.
Constructor Summary | |
ExcelCellData(java.awt.geom.Rectangle2D elementBounds,
ExcelDataCellStyle style)
Creates new ExcelCellData. |
Method Summary | |
abstract void |
applyContent(org.apache.poi.hssf.usermodel.HSSFCell cell)
Applies the cells content and formats to the given HSSFCell. |
ExcelDataCellStyle |
getExcelCellStyle()
Gets the defined style for this cell. |
boolean |
isBackground()
Returns always false, as this is a data cell. |
abstract boolean |
isEmpty()
Tests, whether the cell is empty. |
java.lang.String |
toString()
Returns a string representation of this cell. |
Methods inherited from class com.jrefinery.report.targets.table.TableCellData |
getBounds |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ExcelCellData(java.awt.geom.Rectangle2D elementBounds, ExcelDataCellStyle style)
elementBounds
- are calculated outsidestyle
- the assigned cell style.Method Detail |
public abstract void applyContent(org.apache.poi.hssf.usermodel.HSSFCell cell)
cell
- the cell, that should be formated.public ExcelDataCellStyle getExcelCellStyle()
public final boolean isBackground()
isBackground
in class TableCellData
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public abstract boolean isEmpty()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |